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
368 B
23 lines
368 B
5 years ago
|
package main
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
|
||
|
solutions "../../solutions"
|
||
|
)
|
||
|
|
||
|
func TestLastRuneProg(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, LastRune, solutions.LastRune, arg)
|
||
|
}
|
||
|
}
|