Browse Source

method signature defined in test -> no compile

master
Thomas Papendieck 6 years ago
parent
commit
051741a4ed
  1. 5
      TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java

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

@ -11,7 +11,10 @@ public class BowlingCalculatorTest {
// arrange // arrange
String listOfThrows = "-- -- -- -- -- -- -- -- -- --"; String listOfThrows = "-- -- -- -- -- -- -- -- -- --";
int expectedValue = 0; int expectedValue = 0;
new BownlingCalculator();
BownlingCalculator bownlingCalculator = new BownlingCalculator();
// act
int calculatedResult = bownlingCalculator.evaluate(listOfThrows);
} }

Loading…
Cancel
Save