Skip to content

Commit c7d4051

Browse files
committed
Added more tests
1 parent 578c85e commit c7d4051

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

leetcode/0242.Valid-Anagram/242. Valid Anagram_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,21 @@ func Test_Problem242(t *testing.T) {
4545
para242{"rat", "car"},
4646
ans242{false},
4747
},
48+
49+
{
50+
para242{"a", "ab"},
51+
ans242{false},
52+
},
53+
54+
{
55+
para242{"ab", "a"},
56+
ans242{false},
57+
},
58+
59+
{
60+
para242{"aa", "bb"},
61+
ans242{false},
62+
},
4863
}
4964

5065
fmt.Printf("------------------------Leetcode Problem 242------------------------\n")

0 commit comments

Comments
 (0)