2.12.2021, 9:00 - 11:00: Due to updates GitLab may be unavailable for some minutes between 09:00 and 11:00.

Commit cff6acbd authored by Benedikt Zoennchen's avatar Benedikt Zoennchen
Browse files

increase the nTrail for the seating test since it is a test that involves...

increase the nTrail for the seating test since it is a test that involves probability therefore a larger sample is necessary.
parent bb7e35d0
Pipeline #59632 passed with stage
in 49 seconds
......@@ -42,7 +42,7 @@ public class TestChooseSeat {
@StatisticalTestCase
@Test
public void testChooseSeat0() {
final int nTrials = 1000;
final int nTrials = 10000;
TallySheet<Seat> tallySheet = runChooseSeat(nTrials);
final Map<SeatPosition, Double> probabilities = FractionProbabilityNormalization.normalize(new AttributesSeating().getSeatChoice0());
......@@ -65,7 +65,7 @@ public class TestChooseSeat {
public void testChooseSeat1() {
final int[] diagonallyOppositeSeatIndexes = { 3, 2, 1, 0 };
for (int i = 0; i < 4; i++) {
final int nTrials = 1000;
final int nTrials = 10000;
clearSeatGroup(seatGroup);
fillSeatGroup(seatGroup, i);
......@@ -81,7 +81,7 @@ public class TestChooseSeat {
@StatisticalTestCase
@Test
public void testChooseSeat2Both() {
final int nTrials = 1000;
final int nTrials = 10000;
fillSeatGroup(seatGroup, 0, 3);
final TallySheet<Seat> tallySheet = runChooseSeat(nTrials);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment