From 051741a4ed45542fc6785aaa4bbe77646317fd33 Mon Sep 17 00:00:00 2001 From: Thomas Papendieck Date: Wed, 28 Nov 2018 17:39:49 +0100 Subject: [PATCH] method signature defined in test -> no compile --- .../java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java b/TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java index c052df9..a7e31a3 100644 --- a/TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java +++ b/TDD-pure-function/src/test/java/de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java @@ -11,7 +11,10 @@ public class BowlingCalculatorTest { // arrange String listOfThrows = "-- -- -- -- -- -- -- -- -- --"; int expectedValue = 0; - new BownlingCalculator(); + BownlingCalculator bownlingCalculator = new BownlingCalculator(); + + // act + int calculatedResult = bownlingCalculator.evaluate(listOfThrows); }