1- package org .teachingkidsprogramming .section08events ;
1+ package org .teachingkidsprogramming .recipes . completed . section08events ;
22
33import org .junit .Assert ;
44import org .junit .Test ;
@@ -17,9 +17,9 @@ public class DeepDive08Events
1717 // NOTE: Do not change anything except the blank (___)
1818 //
1919 //*****************In Progress************************//
20- //Looking at testing object instances and properties
21- //Also testing more events
22- //NOTE for Deep Dive Authors: Copy 'answer' to TKPJava answer section when done
20+ // Looking at testing object instances and properties
21+ // Also testing more events
22+ // NOTE for Deep Dive Authors: Copy 'answer' to TKPJava answer section when done
2323 //
2424 @ Test
2525 public void twoCircles () throws Exception
@@ -37,6 +37,24 @@ public void twoCirclesAgain() throws Exception
3737 boolean result = c2 .equals (c1 );
3838 Assert .assertNotSame (_____ , result );
3939 }
40+ @ Test
41+ public void isItClicked () throws Exception
42+ {
43+ //Setup: setup left click mouse handler
44+ //Wire to an event
45+ //Test to see if it's clicked
46+ boolean clicked = false ;
47+ Assert .assertEquals (______ , clicked );
48+ }
49+ @ Test
50+ public void isItMoved () throws Exception
51+ {
52+ //Setup: setup mouse move handler
53+ //Wire to an event
54+ //Test to see if it's moved
55+ boolean moved = false ;
56+ Assert .assertEquals (______ , moved );
57+ }
4058 /**
4159 * Ignore the following, It's needed to run the deep dive
4260 *
0 commit comments