func TestValidGuess(t *testing.T) { expect := goexpect.New(t) game := models.Game{}.New() // Invalid guess expect(game.ValidGuess("1")).ToBe(false) expect(game.ValidGuess("as")).ToBe(false) expect(game.ValidGuess("[")).ToBe(false) expect(game.ValidGuess("A")).ToBe(false) // Valid guess expect(game.ValidGuess("a")).ToBe(true) expect(game.ValidGuess("z")).ToBe(true) }