From bcf61256fbbe68725de141ab673a023914c67204 Mon Sep 17 00:00:00 2001 From: Simon Shine Date: Mon, 14 Oct 2019 01:25:10 +0200 Subject: [PATCH] Add note in test file explaining omission of test 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. --- exercises/resistor-color-duo/test/Tests.hs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/exercises/resistor-color-duo/test/Tests.hs b/exercises/resistor-color-duo/test/Tests.hs index 94c1e7050..5b917acd0 100644 --- a/exercises/resistor-color-duo/test/Tests.hs +++ b/exercises/resistor-color-duo/test/Tests.hs @@ -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. ]