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
392 B
20 lines
392 B
5 years ago
|
package student_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
solutions "./solutions"
|
||
|
student "./student"
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestAbort(t *testing.T) {
|
||
|
arg := z01.MultRandInt()
|
||
|
arg = append(arg, z01.RandInt())
|
||
|
for i := 0; i < 15; i++ {
|
||
|
z01.Challenge(t, student.Abort, solutions.Abort, arg[0], arg[1], arg[2], arg[3], arg[4])
|
||
|
arg = z01.MultRandInt()
|
||
|
arg = append(arg, z01.RandInt())
|
||
|
}
|
||
|
}
|