Skip to content

Commit

Permalink
custom-set: add test for removing duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor committed May 9, 2024
1 parent 4b4c842 commit 39b3572
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions exercises/custom-set/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,6 +396,16 @@
"set2": [2, 4]
},
"expected": [1, 3]
},
{
"uuid": "20d0a38f-7bb7-4c4a-ac15-90c7392ecf2b",
"description": "difference removes all duplicates in the first set",
"property": "difference",
"input": {
"set1": [1, 1],
"set2": [1]
},
"expected": [0]
}
]
},
Expand Down

0 comments on commit 39b3572

Please sign in to comment.