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
530 B
25 lines
530 B
package main |
|
|
|
import ( |
|
"testing" |
|
|
|
"github.com/01-edu/z01" |
|
) |
|
|
|
func TestExpandStr(t *testing.T) { |
|
arg1 := []string{"hello", "you"} |
|
arg2 := []string{" only it's harder "} |
|
arg3 := []string{"you see it's easy to display the same thing"} |
|
args := [][]string{arg1, arg2, arg3} |
|
|
|
// adding of 15 random valid tests |
|
for i := 0; i < 15; i++ { |
|
randomArg := []string{z01.RandWords()} |
|
args = append(args, randomArg) |
|
} |
|
|
|
for _, v := range args { |
|
z01.ChallengeMainExam(t, v...) |
|
} |
|
z01.ChallengeMainExam(t) |
|
}
|
|
|