Skip to content

Commit

Permalink
Hit TreapSet.of in test
Browse files Browse the repository at this point in the history
  • Loading branch information
nielsenko committed Aug 28, 2024
1 parent 3dd7854 commit 9e53b53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/set_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void main() {
});

test('remove', () {
final t = TreapSet(_compare)..addAll([1, 2, 3, 4, 5]);
final t = TreapSet.of([1, 2, 3, 4, 5], _compare);
expect(t.remove(0), isFalse);
expect(t.remove(1), isTrue);
expect(t, [2, 3, 4, 5]);
Expand Down

0 comments on commit 9e53b53

Please sign in to comment.