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.
25 lines
498 B
25 lines
498 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestReverseStrCap(t *testing.T) {
|
||
|
arg1 := []string{"First SMALL TesT"}
|
||
|
arg2 := []string{"SEconD Test IS a LItTLE EasIEr", "bEwaRe IT'S NoT HARd WhEN ", " Go a dernier 0123456789 for the road e"}
|
||
|
args := [][]string{arg1, arg2}
|
||
|
|
||
|
for i := 0; i < 15; i++ {
|
||
|
args = append(args, z01.MultRandAlnum())
|
||
|
}
|
||
|
|
||
|
args = append(args, []string{""})
|
||
|
|
||
|
for _, v := range args {
|
||
|
z01.ChallengeMainExam(t, v...)
|
||
|
}
|
||
|
z01.ChallengeMainExam(t)
|
||
|
}
|