/Rationals_Java_FastTrack

FastTrack Assignment - Java Assignment Rationals

Primary LanguageJava

Rationals

You will work with an existing code base to implement an interface and two implementations of that interface. The classes will represent a fraction consisting of a numerator and denominator. The methods on the class with be operations to add, subtract, multiply, etc. two Rationals. The classes generally follow a philosophy of immutability, in which the methods do not alter either of the Rationals being operated on but instead return a third new Rational that is the result of the operation.

Task List

  • Fork & Clone the ‘Rationals’ project
  • Finish the implementation of the IRational interface
  • Implement the Rational class
  • Pass all Test Cases for the Rational class
  • Implement the SimplifiedRational class
  • Pass all Test Cases for the SimplifiedRational class