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.
19 lines
392 B
19 lines
392 B
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()) |
|
} |
|
}
|
|
|