We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a88498 commit 4bd29a9Copy full SHA for 4bd29a9
TeachingKidsProgramming/src/jars/TeachingKidsProgramming.jar
0 Bytes
TeachingKidsProgramming/src/org/teachingkidsprogramming/section07events/DeepDive07Events.java
@@ -90,6 +90,16 @@ public void feedTheNinja() throws Exception
90
boolean likedIt = michealangelo.eatPizza(pizza);
91
Assert.assertTrue("Michealangelo barfs! Wrong pizza!", likedIt);
92
}
93
+ @Test
94
+ public void feedTheNinjaTwo() throws Exception
95
+ {
96
+ Tortoise karai = new Tortoise();
97
+ karai.likesTopping(Topping.Anchovy);
98
+ Pizza pizza = new Pizza();
99
+ pizza.addTopping(Topping.Anchovy);
100
+ boolean likedIt = karai.eatPizza(pizza);
101
+ Assert.assertTrue("Karai starves! Wrong pizza!", _____);
102
+ }
103
/**
104
* Ignore the following, It's needed to run the homework
105
*
0 commit comments