Skip to content

Commit

Permalink
Rename test class for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
gstamatelat committed Aug 19, 2022
1 parent 35584d7 commit fd47886
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@
/**
* Tests for {@link RandomSamplingUtils#randomSelection(int, int, Random)}.
*/
public class RandomSamplingUtilsRandomSelectionTest {
public class RandomSamplingUtilsTest {
/**
* Check correctness for n=6 and k=3. The total number of 3-tuples should be 60 with equal probability of inclusion.
* Check correctness of {@link RandomSamplingUtils#randomSelection(int, int, Random) randomSelection} for n=6 and
* k=3. The total number of 3-tuples should be 60 with equal probability of inclusion.
*/
@Test
public void correctness() {
public void randomSelectionCorrectness() {
final int REPS = 200000000;
final Random rng = new Random();
final Map<List<Integer>, Long> frequencies = new HashMap<>();
Expand Down

0 comments on commit fd47886

Please sign in to comment.