###Description Java Program that takes a string as input. And returns the cartesian product.
###How to Run
- compile CartesianProduct
- run java CartesianProduct . ex.
java CartesianProduct "a{b,c,d}e"
####Run Test
I've included a JUnit test in CartesianProductTest and the jar required to run the test is in the lib folder.
From the src directory:
- compile
javac -cp .:"../lib/*" CartesianProductTest.java
- run
java -cp .:"../lib/*" org.junit.runner.JUnitCore CartesianProductTest