From 571271d837d3cc2957ae2513897d664183143f0e Mon Sep 17 00:00:00 2001 From: Thomas Papendieck Date: Wed, 28 Nov 2018 17:29:01 +0100 Subject: [PATCH] Test does not compile because of missing Production code --- .../de/edu/hsfulda/ciip/tdd/BowlingCalculatorTest.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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 c05b73a..c052df9 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 @@ -7,8 +7,12 @@ import org.junit.Test; public class BowlingCalculatorTest { @Test - public void test() { - fail("Not yet implemented"); + public void returnsZeroWhenNoPinIsHit() { + // arrange + String listOfThrows = "-- -- -- -- -- -- -- -- -- --"; + int expectedValue = 0; + new BownlingCalculator(); + } }