|
3 | 3 |
|
4 | 4 | describe "Array#sample" do
|
5 | 5 | it "samples evenly" do
|
6 |
| - ArraySpecs.measure_sample_fairness(4, 1, 4000) |
7 |
| - ArraySpecs.measure_sample_fairness(4, 2, 4000) |
8 |
| - ArraySpecs.measure_sample_fairness(4, 3, 4000) |
9 |
| - ArraySpecs.measure_sample_fairness(40, 3, 4000) |
10 |
| - ArraySpecs.measure_sample_fairness(40, 4, 4000) |
11 |
| - ArraySpecs.measure_sample_fairness(40, 8, 4000) |
12 |
| - ArraySpecs.measure_sample_fairness(40, 16, 4000) |
13 |
| - ArraySpecs.measure_sample_fairness_large_sample_size(100, 80, 40000) |
| 6 | + ArraySpecs.measure_sample_fairness(4, 1, 400) |
| 7 | + ArraySpecs.measure_sample_fairness(4, 2, 400) |
| 8 | + ArraySpecs.measure_sample_fairness(4, 3, 400) |
| 9 | + ArraySpecs.measure_sample_fairness(40, 3, 400) |
| 10 | + ArraySpecs.measure_sample_fairness(40, 4, 400) |
| 11 | + ArraySpecs.measure_sample_fairness(40, 8, 400) |
| 12 | + ArraySpecs.measure_sample_fairness(40, 16, 400) |
| 13 | + ArraySpecs.measure_sample_fairness_large_sample_size(100, 80, 4000) |
14 | 14 | end
|
15 | 15 |
|
16 | 16 | it "returns nil for an empty Array" do
|
|
0 commit comments