Skip to content

Commit 03529d0

Browse files
authored
Grade school exercise: A student cannot simultaneously be in two grades since the users' names are unique (exercism#1735)
1 parent e54e5c3 commit 03529d0

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

exercises/grade-school/canonical-data.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,19 @@
1414
},
1515
"expected": ["Aimee"]
1616
},
17+
{
18+
"uuid": "dece43c8-3ba5-11eb-8fdf-7f8daeaeb5f2",
19+
"description": "A student can't be in two different grades",
20+
"property": "roster",
21+
"input": {
22+
"students": [
23+
["Aimee", 2],
24+
["Aimee", 1]
25+
],
26+
"desiredGrade": 2
27+
},
28+
"expected": []
29+
},
1730
{
1831
"uuid": "233be705-dd58-4968-889d-fb3c7954c9cc",
1932
"description": "Adding more students adds them to the sorted roster",

0 commit comments

Comments
 (0)