RedPencil code kata. Deciding if products are eligible for a sale.
cd
into project root (ie cd ~/yourworkspace/RedPencil/
)
Compile with the follolowing command:
javac RedPencil.java RedPencilTest.java Product.java
Then run!
java org.junit.runner.JUnitCore RedPencilTest