Skip to content

Instantly share code, notes, and snippets.

@plutov
Last active August 30, 2018 03:38
Show Gist options
  • Save plutov/90be9480c5ab9e73c8f36cc23a98de0d to your computer and use it in GitHub Desktop.
Save plutov/90be9480c5ab9e73c8f36cc23a98de0d to your computer and use it in GitHub Desktop.
table3
func TestFindAnagrams(t *testing.T) {
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
got := FindAnagrams(tt.word)
if got != tt.want {
t.Errorf("FindAnagrams(%s) got %v, want %v", tt.word, got, tt.want)
}
})
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment