JMU
logoChemicalc.png
Going Further on Programming Assignment 8


This question/problem/task allows you to go further on Programming Assignment 8. It is neither required nor for extra credit. It will, however, help you gain a deeper understanding of the material.
1 Thinking about Testing: Write an essay that addresses the following question:
Does 100% statement coverage ensure that the code is error free? Why or why not?
2 Testing Your Classes: What important test cases should be included in the testToString() method in the Molecule_Test class? (Hint: Think about the different kinds of things that need to be included in the String and where they might appear.)

What important test cases should be included in the testIncludes() method in the Molecule_Test class? (Hint: Think about where the included Atom might appear in the Molecule.)

Copyright 2013