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.
22 lines
381 B
22 lines
381 B
package main |
|
|
|
import ( |
|
"strings" |
|
"testing" |
|
|
|
"github.com/01-edu/z01" |
|
) |
|
|
|
func TestWdMatch(t *testing.T) { |
|
table := append(z01.MultRandWords(), |
|
" ", |
|
"faya fgvvfdxcacpolhyghbreda", |
|
"faya fgvvfdxcacpolhyghbred", |
|
"error rrerrrfiiljdfxjyuifrrvcoojh", |
|
"error rrerrrfiiljdfxjyuifrrvcoojrh", |
|
) |
|
|
|
for _, s := range table { |
|
z01.ChallengeMainExam(t, strings.Fields(s)...) |
|
} |
|
}
|
|
|