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.

21 lines
491 B

package main
import (
"github.com/01-edu/z01"
solutions "./solutions"
student "./student"
)
func main() {
i := 0
for i < 30 {
nb := z01.RandIntBetween(-8, 8)
power := z01.RandIntBetween(-10, 10)
z01.Challenge("RecursivePower", student.RecursivePower, solutions.RecursivePower, nb, power)
i++
}
z01.Challenge("RecursivePower", student.RecursivePower, solutions.RecursivePower, 0, 0)
z01.Challenge("RecursivePower", student.RecursivePower, solutions.RecursivePower, 0, 1)
}