Using Test Driven Development, create a Parse class that will break down a simple 2-term calculator expression.
- Prove you can extract the terms of the expression.
- Prove you can extract the operation embedded in the expression.
- Ensure you have examples of GOOD and BAD input and have the class throw an exception where there are error.
- Your expression should work with and without spaces.
- The use of Regular Expressions is not required.