mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
382 B
24 lines
382 B
package main |
|
|
|
import ( |
|
"testing" |
|
|
|
"github.com/01-edu/z01" |
|
) |
|
|
|
func TestCleanStr(t *testing.T) { |
|
args := []string{"you see it's easy to display the same thing", |
|
" only it's harder ", |
|
"how funny", |
|
"", |
|
z01.RandSpace(), |
|
} |
|
|
|
for _, v := range args { |
|
z01.ChallengeMainExam(t, v) |
|
} |
|
|
|
arg1 := []string{"this is not", "happening"} |
|
|
|
z01.ChallengeMainExam(t, arg1...) |
|
}
|
|
|