This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Panda p2 = new Panda("Lin",3,p1); assertEquals("Lin",p2.getName()); assertEquals(3,p2.getChild()); assertEquals(p1,p2.getFather()); } } An example of JUnit test class showing its contents A line representing the entire set of integer...
View Full Document
- Spring '11