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
This note was uploaded on 07/07/2008 for the course CS 101 taught by Professor Gries during the Spring '08 term at Cornell University (Engineering School).
- Spring '08