Skip to content

Commit

Permalink
[custom-set] Add test for deduplication (#2324)
Browse files Browse the repository at this point in the history
  • Loading branch information
senekor authored Sep 24, 2023
1 parent af1c8d0 commit 988eafc
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 @@ -251,6 +251,16 @@
"set2": [1, 2, 3, 4]
},
"expected": false
},
{
"uuid": "d4a1142f-09aa-4df9-8b83-4437dcf7ec24",
"description": "set is equal to a set constructed from an array with duplicates",
"property": "equal",
"input": {
"set1": [1],
"set2": [1, 1]
},
"expected": true
}
]
},
Expand Down

0 comments on commit 988eafc

Please sign in to comment.