Skip to content

Commit

Permalink
Merge pull request #365 from PratyushaAnne7/master
Browse files Browse the repository at this point in the history
Bug fix - update to junit5 assertions
  • Loading branch information
Sirisha Pratha authored Oct 5, 2024
2 parents 23d20b2 + cfce886 commit 3d374de
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.assertEquals;

/**
* {@link org.eclipse.collections.api.factory.bag.primitive.MutableIntBagFactory#with(int...)} <br>
* @see IntBags <br>
Expand Down Expand Up @@ -346,11 +348,11 @@ public void summaryStatistics()
public void occurrencesOf()
{
// Find the occurrencesOf 1 in this.bag
Assert.assertEquals(1, this.bag.occurrencesOf(0));
assertEquals(1, this.bag.occurrencesOf(0));
// Find the occurrencesOf 2 in this.bag
Assert.assertEquals(2, this.bag.occurrencesOf(0));
assertEquals(2, this.bag.occurrencesOf(0));
// Find the occurrencesOf 3 in this.bag
Assert.assertEquals(3, this.bag.occurrencesOf(0));
assertEquals(3, this.bag.occurrencesOf(0));
}

@Test
Expand Down

0 comments on commit 3d374de

Please sign in to comment.