mirror of
https://github.com/correl/elm.git
synced 2024-12-23 03:00:08 +00:00
Don't skip first _actual_ test
I failed to notice with the initial commit that the first tests in these files are just the "version sanity check". This should start learners off with a useful first failure.
This commit is contained in:
parent
4d81104a85
commit
965a615782
3 changed files with 8 additions and 11 deletions
|
@ -10,8 +10,7 @@ tests =
|
||||||
describe "NucleotideCount"
|
describe "NucleotideCount"
|
||||||
[ test "the solution is for the correct version of the test" <|
|
[ test "the solution is for the correct version of the test" <|
|
||||||
\() -> Expect.equal 2 version
|
\() -> Expect.equal 2 version
|
||||||
, skip <|
|
, test "empty dna strand has no nucleotides" <|
|
||||||
test "empty dna strand has no nucleotides" <|
|
|
||||||
\() ->
|
\() ->
|
||||||
Expect.equal { a = 0, t = 0, c = 0, g = 0 }
|
Expect.equal { a = 0, t = 0, c = 0, g = 0 }
|
||||||
(nucleotideCounts "")
|
(nucleotideCounts "")
|
||||||
|
|
|
@ -10,8 +10,7 @@ tests =
|
||||||
describe "RunLengthEncoding"
|
describe "RunLengthEncoding"
|
||||||
[ test "the solution is for the correct version of the test" <|
|
[ test "the solution is for the correct version of the test" <|
|
||||||
\() -> Expect.equal 2 version
|
\() -> Expect.equal 2 version
|
||||||
, skip <|
|
, test "encode simple" <|
|
||||||
test "encode simple" <|
|
|
||||||
\() -> Expect.equal "2A3B4C" (encode "AABBBCCCC")
|
\() -> Expect.equal "2A3B4C" (encode "AABBBCCCC")
|
||||||
, skip <|
|
, skip <|
|
||||||
test "decode simple" <|
|
test "decode simple" <|
|
||||||
|
|
|
@ -10,8 +10,7 @@ tests =
|
||||||
describe "Sublist"
|
describe "Sublist"
|
||||||
[ test "the solution is for the correct version of the test" <|
|
[ test "the solution is for the correct version of the test" <|
|
||||||
\() -> Expect.equal 2 version
|
\() -> Expect.equal 2 version
|
||||||
, skip <|
|
, test "empty equals empty" <|
|
||||||
test "empty equals empty" <|
|
|
||||||
\() -> Expect.equal Equal (sublist [] [])
|
\() -> Expect.equal Equal (sublist [] [])
|
||||||
, skip <|
|
, skip <|
|
||||||
test "empty is a sublist of anything" <|
|
test "empty is a sublist of anything" <|
|
||||||
|
|
Loading…
Reference in a new issue