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.
23 lines
361 B
23 lines
361 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"strconv"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestTabMult(t *testing.T) {
|
||
|
var table []string
|
||
|
for i := 1; i < 10; i++ {
|
||
|
table = append(table, strconv.Itoa(i))
|
||
|
}
|
||
|
for i := 0; i < 5; i++ {
|
||
|
table = append(table, strconv.Itoa(z01.RandIntBetween(1, 1000)))
|
||
|
}
|
||
|
|
||
|
for _, arg := range table {
|
||
|
z01.ChallengeMainExam(t, arg)
|
||
|
}
|
||
|
}
|