This commit is contained in:
VicRen
2021-01-03 20:30:49 +08:00
parent e2854b5b6d
commit 82566afa5e
2 changed files with 60 additions and 1 deletions
+28
View File
@@ -18,6 +18,34 @@ func Test_solution(t *testing.T) {
},
"abccbaabccba",
},
{
"test2",
args{
"rat",
},
"art",
},
{
"test3",
args{
"leetcode",
},
"cdelotee",
},
{
"test4",
args{
"ggggggg",
},
"ggggggg",
},
{
"test5",
args{
"spo",
},
"ops",
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {