资 源 简 介
NUTestWorld
World Libraries
The collection of World libraries replicates the functionality of corresponding libraries in ProfessorJ environment, supporting the design of programs that include simple drawings and interactive animations and games. An additional library allows the programmer to publish the drawing, animation, or a game as a Java applet.
ProfessorJ programmers can use the World libraries without changing the program (other than adding public visibility modifiers in a few places).
The Test Harness
The tester library provides a test harness that supports a comparison of two instances of a class based on the values of the data (extensional equality), in contrast to the reference equality (intensional equality) that is provided by default through the Java equals method and is used by the JUnit framework.
The test harness reports the number of tests performed, the number failed, provides a report on all failed tests