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.
23 lines
401 B
23 lines
401 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestPigLatin(t *testing.T) {
|
||
|
type args struct {
|
||
|
first []string
|
||
|
}
|
||
|
arr := []args{{first: []string{"", "pig", "is", "crunch", "crnch"}}, {first: []string{"something", "else"}}}
|
||
|
|
||
|
for i := 0; i < 4; i++ {
|
||
|
arr = append(arr, args{first: z01.MultRandBasic()})
|
||
|
}
|
||
|
|
||
|
for _, v := range arr {
|
||
|
z01.ChallengeMainExam(t, v.first...)
|
||
|
}
|
||
|
}
|