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
328 B
23 lines
328 B
5 years ago
|
package student_test
|
||
|
|
||
|
import (
|
||
|
"testing"
|
||
|
|
||
|
"github.com/01-edu/z01"
|
||
|
|
||
|
solutions "./solutions"
|
||
|
student "./student"
|
||
|
)
|
||
|
|
||
|
func TestToUpper(t *testing.T) {
|
||
|
table := z01.MultRandASCII()
|
||
|
|
||
|
table = append(table,
|
||
|
"Hello! How are you?",
|
||
|
)
|
||
|
|
||
|
for _, arg := range table {
|
||
|
z01.Challenge(t, student.ToUpper, solutions.ToUpper, arg)
|
||
|
}
|
||
|
}
|