Fixing Test Cases
This commit is contained in:
parent
6ea369f248
commit
512a6e05a1
|
@ -8,8 +8,8 @@ public class CyclicBarrierResetExampleUnitTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void whenCyclicBarrier_reset() {
|
public void whenCyclicBarrier_reset() {
|
||||||
CyclicBarrierResetExample ex = new CyclicBarrierResetExample(7,20);
|
CyclicBarrierResetExample ex = new CyclicBarrierResetExample(7,10);
|
||||||
int lineCount = ex.countWaits();
|
int lineCount = ex.countWaits();
|
||||||
assertEquals(17, lineCount);
|
assertEquals(8, lineCount);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue