Skip to content

Commit

Permalink
resistor-color-duo: no tests for white or red
Browse files Browse the repository at this point in the history
I had a student submit a solution where red was missing. For completeness, adding a test for white and red.
  • Loading branch information
glennj committed Oct 13, 2020
1 parent 965cc22 commit 56e1f36
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions exercises/resistor-color-duo/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,15 @@
},
"expected": 47
},
{
"uuid": "b7a6cbd2-ae3c-470a-93eb-56670b305640",
"description": "White and red",
"property": "value",
"input": {
"colors": ["white", "red"]
},
"expected": 92
},
{
"uuid": "77a8293d-2a83-4016-b1af-991acc12b9fe",
"description": "Orange and orange",
Expand Down

0 comments on commit 56e1f36

Please sign in to comment.