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
310 B
20 lines
310 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
|
||
|
solutions "../../solutions"
|
||
|
)
|
||
|
|
||
|
func TestMaxProg(t *testing.T) {
|
||
|
args := []int{z01.RandInt()}
|
||
|
limit := z01.RandIntBetween(20, 50)
|
||
|
for i := 0; i < limit; i++ {
|
||
|
args = append(args, z01.RandInt())
|
||
|
}
|
||
|
|
||
|
z01.Challenge(t, Max, solutions.Max, args)
|
||
|
}
|