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
397 B
23 lines
397 B
5 years ago
|
package student_test
|
||
|
|
||
|
import (
|
||
|
"strings"
|
||
|
"testing"
|
||
|
|
||
|
solutions "./solutions"
|
||
|
"github.com/01-edu/z01"
|
||
|
)
|
||
|
|
||
|
func TestDisplayfile(t *testing.T) {
|
||
|
var table []string
|
||
|
pathFileName := "./student/displayfile/quest8.txt"
|
||
|
|
||
|
solutions.CheckFile(t, pathFileName)
|
||
|
|
||
|
table = append(table, "", pathFileName, "quest8.txt asdsada")
|
||
|
|
||
|
for _, s := range table {
|
||
|
z01.ChallengeMain(t, strings.Fields(s)...)
|
||
|
}
|
||
|
}
|