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
341 B
24 lines
341 B
5 years ago
|
package student_test
|
||
|
|
||
|
import (
|
||
|
"strings"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestComCheck(t *testing.T) {
|
||
|
table := append(z01.MultRandWords(),
|
||
|
"01",
|
||
|
"galaxy",
|
||
|
"galaxy01",
|
||
|
" 01",
|
||
|
"as das d 01 asd",
|
||
|
"as galaxy d 12",
|
||
|
"as ds galaxy 01 asd")
|
||
|
|
||
|
for _, s := range table {
|
||
|
z01.ChallengeMain(t, strings.Fields(s)...)
|
||
|
}
|
||
|
}
|