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.
25 lines
382 B
25 lines
382 B
5 years ago
|
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...)
|
||
|
}
|