mirror of
https://github.com/DerTyp7/bowling-kata-java.git
synced 2025-10-29 12:52:12 +01:00
test for strike
This commit is contained in:
@@ -37,4 +37,13 @@ public class BowlingTest {
|
|||||||
assert bowling.score() == 16;
|
assert bowling.score() == 16;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void testScoreStrike() {
|
||||||
|
bowling.roll(10);
|
||||||
|
bowling.roll(3);
|
||||||
|
bowling.roll(4);
|
||||||
|
roll(16, 0);
|
||||||
|
assert bowling.score() == 24;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user