Last active
August 30, 2018 03:38
-
-
Save plutov/90be9480c5ab9e73c8f36cc23a98de0d to your computer and use it in GitHub Desktop.
table3
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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