File tree Expand file tree Collapse file tree 3 files changed +30
-0
lines changed
双指针/简单/valid-palindrome/golang
字符串/简单/valid-palindrome/golang Expand file tree Collapse file tree 3 files changed +30
-0
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ func main() {
3232 input : "race a car" ,
3333 want : false ,
3434 },
35+ {
36+ name : "test-a." ,
37+ input : "a." ,
38+ want : true ,
39+ },
40+ {
41+ name : "test-a..............." ,
42+ input : "a..............." ,
43+ want : true ,
44+ },
3545 }
3646
3747 testLog := leet .NewTestLog (len (tests ))
Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ func main() {
3232 input : "race a car" ,
3333 want : false ,
3434 },
35+ {
36+ name : "test-a." ,
37+ input : "a." ,
38+ want : true ,
39+ },
40+ {
41+ name : "test-a..............." ,
42+ input : "a..............." ,
43+ want : true ,
44+ },
3545 }
3646
3747 testLog := leet .NewTestLog (len (tests ))
Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ func main() {
3232 input : "race a car" ,
3333 want : false ,
3434 },
35+ {
36+ name : "test-a." ,
37+ input : "a." ,
38+ want : true ,
39+ },
40+ {
41+ name : "test-a..............." ,
42+ input : "a..............." ,
43+ want : true ,
44+ },
3545 }
3646
3747 testLog := leet .NewTestLog (len (tests ))
You can’t perform that action at this time.
0 commit comments