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.
34 lines
522 B
34 lines
522 B
package main |
|
|
|
import ( |
|
"strings" |
|
|
|
"github.com/01-edu/public/go/tests/lib" |
|
) |
|
|
|
func main() { |
|
var table []string |
|
|
|
table = append(table, "-"+lib.RandLower(), |
|
" ", |
|
"-%", |
|
"-?", |
|
"-=", |
|
"-abc -ijk", |
|
"-z", |
|
"-abc -hijk", |
|
"-abcdefghijklmnopqrstuvwxyz", |
|
"-abcdefgijklmnopqrstuvwxyz", |
|
"-eeeeee", |
|
"-hhhhhh", |
|
"-h", |
|
"-hz", |
|
"-zh", |
|
"-z -h", |
|
strings.Join([]string{"-", lib.RandStr(10, lib.RuneRange('a', 'z'))}, ""), |
|
) |
|
|
|
for _, s := range table { |
|
lib.ChallengeMain("options", strings.Fields(s)...) |
|
} |
|
}
|
|
|