Browse Source

Test does not compile because of missing Production code

how_to_use_Mockito
Thomas Papendieck 6 years ago
parent
commit
571271d837
  1. 8
      TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java

8
TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java

@ -7,8 +7,12 @@ import org.junit.Test;
public class BowlingCalculatorTest { public class BowlingCalculatorTest {
@Test @Test
public void test() {
fail("Not yet implemented");
public void returnsZeroWhenNoPinIsHit() {
// arrange
String listOfThrows = "-- -- -- -- -- -- -- -- -- --";
int expectedValue = 0;
new BownlingCalculator();
} }
} }
Loading…
Cancel
Save