Skip to content

Commit 4758bf7

Browse files
dstocktoDavid Stockton
andauthored
yacht: add test to ensure fives are handled (#1993)
Co-authored-by: David Stockton <[email protected]>
1 parent b772d5f commit 4758bf7

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

exercises/yacht/canonical-data.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,16 @@
102102
},
103103
"expected": 0
104104
},
105+
{
106+
"uuid": "d054227f-3a71-4565-a684-5c7e621ec1e9",
107+
"description": "Fives",
108+
"property": "score",
109+
"input": {
110+
"dice": [1, 5, 3, 5, 3],
111+
"category": "fives"
112+
},
113+
"expected": 10
114+
},
105115
{
106116
"uuid": "e8a036e0-9d21-443a-8b5f-e15a9e19a761",
107117
"description": "Sixes",

0 commit comments

Comments
 (0)