A class representing fractions

exercise No. 100


Implement a class representing fractions. You may find a dummy implementation containing some (not yet working) sample usage code being contained in a main() method.

This Maven archive does include a Junit test currently being disabled by an @Disabled directive:

public class FractionTest {
   * Sums and products of fractions
  @Disabled // Remove me after completing your implementation
  public void testAdditionMultiply() {

The current skeleton will yield a NullPointerException on test execution. After completing your implementation remove this @Disabled directive allowing for test execution.


See implementation at Fraction.