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
366 B

package student_test
import (
"testing"
solutions "./solutions"
student "./student"
"github.com/01-edu/z01"
)
func TestPrintNbrInOrder(t *testing.T) {
table := append(
z01.MultRandIntBetween(0, z01.MaxInt),
z01.MaxInt,
321,
321321,
0,
)
for _, arg := range table {
z01.Challenge(t, student.PrintNbrInOrder, solutions.PrintNbrInOrder, arg)
}
}