Skip to content

Commit 3bed97a

Browse files
authored
allergies: add test case for score of 257 (#1969)
Added test case As mentioned in instructions the program shall only report the eggs (1) allergy for a given score of 257.
1 parent d005360 commit 3bed97a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exercises/allergies/canonical-data.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -566,6 +566,17 @@
566566
"pollen",
567567
"cats"
568568
]
569+
},
570+
{
571+
"uuid": "93c2df3e-4f55-4fed-8116-7513092819cd",
572+
"description": "no allergen score parts without highest valid score",
573+
"property": "list",
574+
"input": {
575+
"score": 257
576+
},
577+
"expected": [
578+
"eggs"
579+
]
569580
}
570581
]
571582
}

0 commit comments

Comments
 (0)