pa8
) that
will hold all of the files for this assignment.
Next, copy working versions of your Atom
,
Element
, Molecule
, and StringUtilities
classes to your directory for this assignment. If your implementations
of these classes are not working, you may use the implementations from
the "Solutions" page to modify your implementations, provided that
you completely understand those implementations.
Next, copy junit.jar
to your directory for this assignment.
Finally you should learn about JUnit. Start by learning about JUnit basics, then decide how you will use JUnit (e.g., from a command shell or from jGRASP) and learn about how to do that.
StringUtilitiesTest.java
AtomTest.java
ElementTest.java
MoleculeTest.java
These test classes must be designed and implemented in such a way that they ensure that every method, statement and condition in the corresponding class being tested is executed.
You should develop and use these tests in the order they are listed above (since the later classes in this list use the earlier classes in this list).
Copyright 2013