We'll program the addition of two rationals using TDD.
Suggested API for the method (in Java):
public Rational add(Rational rational);
Constraints:
- Rationals must be immutable after creation.
- They have to be stored in reduced form, e.g., 2/4 would be stored as 1/2, check greatest common divisor computation