mirror of
https://github.com/correl/elm.git
synced 2024-12-22 19:17:27 +00:00
skip all tests after the first
This commit is contained in:
parent
3c93d1f54c
commit
528b355c81
1 changed files with 32 additions and 24 deletions
|
@ -11,28 +11,36 @@ tests =
|
||||||
[ test "empty string" <|
|
[ test "empty string" <|
|
||||||
\() ->
|
\() ->
|
||||||
Expect.equal True <| isIsogram ""
|
Expect.equal True <| isIsogram ""
|
||||||
, test "isogram with only lower case characters" <|
|
, skip <|
|
||||||
\() ->
|
test "isogram with only lower case characters" <|
|
||||||
Expect.equal True <| isIsogram "isogram"
|
\() ->
|
||||||
, test "word with one duplicated character" <|
|
Expect.equal True <| isIsogram "isogram"
|
||||||
\() ->
|
, skip <|
|
||||||
Expect.equal False <| isIsogram "eleven"
|
test "word with one duplicated character" <|
|
||||||
, test "longest reported english isogram" <|
|
\() ->
|
||||||
\() ->
|
Expect.equal False <| isIsogram "eleven"
|
||||||
Expect.equal True <| isIsogram "subdermatoglyphic"
|
, skip <|
|
||||||
, test "word with duplicated character in mixed case" <|
|
test "longest reported english isogram" <|
|
||||||
\() ->
|
\() ->
|
||||||
Expect.equal False <| isIsogram "Alphabet"
|
Expect.equal True <| isIsogram "subdermatoglyphic"
|
||||||
, test "hypothetical isogrammic word with hyphen" <|
|
, skip <|
|
||||||
\() ->
|
test "word with duplicated character in mixed case" <|
|
||||||
Expect.equal True <| isIsogram "thumbscrew-japingly"
|
\() ->
|
||||||
, test "isogram with duplicated non letter character" <|
|
Expect.equal False <| isIsogram "Alphabet"
|
||||||
\() ->
|
, skip <|
|
||||||
Expect.equal True <| isIsogram "Hjelmqvist-Gryb-Zock-Pfund-Wax"
|
test "hypothetical isogrammic word with hyphen" <|
|
||||||
, test "made-up name that is an isogram" <|
|
\() ->
|
||||||
\() ->
|
Expect.equal True <| isIsogram "thumbscrew-japingly"
|
||||||
Expect.equal True <| isIsogram "Emily Jung Schwartzkopf"
|
, skip <|
|
||||||
, test "duplicated character in the middle" <|
|
test "isogram with duplicated non letter character" <|
|
||||||
\() ->
|
\() ->
|
||||||
Expect.equal False <| isIsogram "accentor"
|
Expect.equal True <| isIsogram "Hjelmqvist-Gryb-Zock-Pfund-Wax"
|
||||||
|
, skip <|
|
||||||
|
test "made-up name that is an isogram" <|
|
||||||
|
\() ->
|
||||||
|
Expect.equal True <| isIsogram "Emily Jung Schwartzkopf"
|
||||||
|
, skip <|
|
||||||
|
test "duplicated character in the middle" <|
|
||||||
|
\() ->
|
||||||
|
Expect.equal False <| isIsogram "accentor"
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue