Skip to content

Commit

Permalink
testing for count
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmankoko committed Jan 16, 2024
1 parent 2607107 commit f5ed5ca
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/stdcpp/test/set.d
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ unittest
assert(p.key_comp() == a);
assert(p.contains(5) == 0);
assert(p.contains(8) == 0);
assert(p.count(6) == 0); // as said, count is always a 1 or 0 as set priotitizes uniqueness.
assert(p.count(9) == 0);

}

0 comments on commit f5ed5ca

Please sign in to comment.