Skip to content

Commit 7a447c6

Browse files
committed
working on DeepDive08
1 parent 9cd4473 commit 7a447c6

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

src/main/java/org/teachingkidsprogramming/recipes/completed/section08events/DeepDive08Events.java

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
public class DeepDive08Events
99
{
10-
// Step 1: SELECT the method name (twoTortoises on line 26), then click the Run Button
10+
// Step 1: SELECT the method name (twoCircles on line 25), then click the Run Button
1111
// Keyboard shortcut to run -> PC: Ctrl+F11 or Mac: Command+fn+F11
1212
// Step 2: READ the name of the method that failed
1313
// Step 3: FILL IN the blank (___) to make that method pass
@@ -27,7 +27,7 @@ public void twoCircles() throws Exception
2727
Circle c1 = new Circle(20, PenColors.Blues.Blue);
2828
Circle c2 = new Circle(20, PenColors.Blues.Blue);
2929
boolean result = c1.equals(c2);
30-
Assert.assertEquals(_____, result);
30+
Assert.assertEquals(____, result);
3131
}
3232
@Test
3333
public void twoCirclesAgain() throws Exception
@@ -55,6 +55,15 @@ public void isItMoved() throws Exception
5555
boolean moved = false;
5656
Assert.assertEquals(______, moved);
5757
}
58+
@Test
59+
public void isItUpdated() throws Exception
60+
{
61+
//Setup: setup text box input handler
62+
//Wire to an event
63+
//Test to see if it's updated
64+
boolean moved = false;
65+
Assert.assertEquals(______, moved);
66+
}
5867
/**
5968
* Ignore the following, It's needed to run the deep dive
6069
*

0 commit comments

Comments
 (0)