There are currently many test calls for String parsing inside the main function of each class. This would be more appropriate in separate JUnit classes.
What to do
Implement a JUnit class for each class which exposes a
public static String
function and test these functions with different parameters.
Introduction
There are currently many test calls for String parsing inside the main function of each class. This would be more appropriate in separate JUnit classes.
What to do
Implement a JUnit class for each class which exposes a
function and test these functions with different parameters.
Weblinks
JUnit Javadoc (JUnit 4.12) http://junit.org/javadoc/latest/index.html JUnit 4 Example http://www.mkyong.com/unittest/junit-4-tutorial-1-basic-usage/