From 07e7dc346c4d3b0f1ae9860d7e37b3f573967663 Mon Sep 17 00:00:00 2001 From: Karsten Juschus Date: Thu, 24 Feb 2022 15:23:17 +0100 Subject: [PATCH] Update canonical-data.json Added test case As mentioned in instructions the program shall only report the eggs (1) allergy for a given score of 257. --- exercises/allergies/canonical-data.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/exercises/allergies/canonical-data.json b/exercises/allergies/canonical-data.json index 86d2fea765..d9d865300b 100644 --- a/exercises/allergies/canonical-data.json +++ b/exercises/allergies/canonical-data.json @@ -566,6 +566,17 @@ "pollen", "cats" ] + }, + { + "uuid": "93c2df3e-4f55-4fed-8116-7513092819cd", + "description": "no allergen score parts without highest valid score", + "property": "list", + "input": { + "score": 257 + }, + "expected": [ + "eggs" + ] } ] }