Browse Source

fix

pull/686/head
xpetit 4 years ago
parent
commit
84d81c078d
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 64
      go/tests/prog/printrot_test/main.go

64
go/tests/prog/printrot_test/main.go

@ -6,38 +6,38 @@ import (
) )
func main() { func main() {
table := string{} table := []string{
table = append(table, "A") "A",
table = append(table, "a") "a",
table = append(table, "b") "b",
table = append(table, "c") "c",
table = append(table, "d") "d",
table = append(table, "e") "e",
table = append(table, "f") "f",
table = append(table, "g") "g",
table = append(table, "h") "h",
table = append(table, "i") "i",
table = append(table, "j") "j",
table = append(table, "k") "k",
table = append(table, "l") "l",
table = append(table, "m") "m",
table = append(table, "n") "n",
table = append(table, "o") "o",
table = append(table, "p") "p",
table = append(table, "q") "q",
table = append(table, "r") "r",
table = append(table, "s") "s",
table = append(table, "t") "t",
table = append(table, "u") "u",
table = append(table, "v") "v",
table = append(table, "w") "w",
table = append(table, "x") "x",
table = append(table, "y") "y",
table = append(table, "z") "z",
table = append(table, "Z") "Z",
table = append(table, "2 arguments") "2 arguments",
table = append(table, "4 arguments so invalid") "4 arguments so invalid",
}
for _, s := range table { for _, s := range table {
lib.ChallengeMain("printrot", strings.Fields(s)...) lib.ChallengeMain("printrot", strings.Fields(s)...)
} }

Loading…
Cancel
Save