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.
20 lines
332 B
20 lines
332 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"strings"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestDisplayFirstParam(t *testing.T) {
|
||
|
table := append(z01.MultRandWords(), " ")
|
||
|
table = append(table, "1")
|
||
|
table = append(table, "1 2")
|
||
|
table = append(table, "1 2 3")
|
||
|
|
||
|
for _, s := range table {
|
||
|
z01.ChallengeMainExam(t, strings.Fields(s)...)
|
||
|
}
|
||
|
}
|