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.
 
 
 
 
 
 

27 lines
400 B

package main
import (
"testing"
"github.com/01-edu/z01"
)
func TestLastWord(t *testing.T) {
args := []string{
"FOR PONY",
"this ... is sparta, then again, maybe not",
" ",
" lorem,ipsum ",
}
for i := 0; i < 5; i++ {
args = append(args, z01.RandWords())
}
for _, v := range args {
z01.ChallengeMainExam(t, v)
}
z01.ChallengeMainExam(t, "a", "b")
z01.ChallengeMainExam(t)
}