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.
26 lines
353 B
26 lines
353 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"strconv"
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestRomanNumbers(t *testing.T) {
|
||
|
rand := []string{
|
||
|
"0",
|
||
|
"4000",
|
||
|
"5000",
|
||
|
"12433",
|
||
|
"hello",
|
||
|
"good luck",
|
||
|
}
|
||
|
for i := 0; i < 7; i++ {
|
||
|
rand = append(rand, strconv.Itoa(z01.RandIntBetween(0, 4000)))
|
||
|
}
|
||
|
for _, v := range rand {
|
||
|
z01.ChallengeMainExam(t, v)
|
||
|
}
|
||
|
}
|