Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add note in test file explaining omission of test
Browse files Browse the repository at this point in the history
This note is designed in such a way that both track maintainers and
students can make use of it: The maintainer will know why not to add the
missing test when bumping versions, and the student will know why the
current README.md talks about an impossible third color band.
sshine committed Oct 13, 2019
1 parent 249d26c commit bcf6125
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions exercises/resistor-color-duo/test/Tests.hs
Original file line number Diff line number Diff line change
@@ -41,4 +41,7 @@ cases = [ Case { description = "Brown and black"
, input = (Orange, Orange)
, expected = 33
}
-- Note: This test suite omits testing three-color bands,
-- since they are not representable as (Color, Color). They
-- are addressed in the exercise resistor-color-trio.
]

0 comments on commit bcf6125

Please sign in to comment.