mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-05 00:25:22 +08:00
Added more tests
This commit is contained in:
@ -45,6 +45,21 @@ func Test_Problem242(t *testing.T) {
|
||||
para242{"rat", "car"},
|
||||
ans242{false},
|
||||
},
|
||||
|
||||
{
|
||||
para242{"a", "ab"},
|
||||
ans242{false},
|
||||
},
|
||||
|
||||
{
|
||||
para242{"ab", "a"},
|
||||
ans242{false},
|
||||
},
|
||||
|
||||
{
|
||||
para242{"aa", "bb"},
|
||||
ans242{false},
|
||||
},
|
||||
}
|
||||
|
||||
fmt.Printf("------------------------Leetcode Problem 242------------------------\n")
|
||||
|
Reference in New Issue
Block a user