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.

24 lines
397 B

package student_test
import (
"testing"
"github.com/01-edu/z01"
solutions "./solutions"
student "./student"
)
func TestLastRune(t *testing.T) {
table := z01.MultRandASCII()
table = append(table,
"Hello!",
"Salut!",
"Ola!",
z01.RandStr(z01.RandIntBetween(1, 15), z01.RandAlnum()),
)
for _, arg := range table {
z01.Challenge(t, student.LastRune, solutions.LastRune, arg)
}
}