Fix broken test

This commit is contained in:
Viktor Lofgren 2024-01-18 15:42:01 +01:00
parent 6271d5d544
commit 964419803a

View File

@ -22,10 +22,10 @@ class RankingSearchSetTest {
bm.add(7);
bm.add(9);
RankingSearchSet set = new RankingSearchSet(SearchSetIdentifier.ACADEMIA, p, bm);
RankingSearchSet set = new RankingSearchSet("ACADEMIA", p, bm);
set.write();
RankingSearchSet set2 = new RankingSearchSet(SearchSetIdentifier.ACADEMIA, p);
RankingSearchSet set2 = new RankingSearchSet("ACADEMIA", p);
assertTrue(set2.contains(1, 0));
assertTrue(set2.contains(5, 0));
assertTrue(set2.contains(7, 0));