Example: A class representing fractions
No. 129
Q: |
Implement a class representing fractions. You may find a
dummy implementation containing some (not yet working) sample
usage code being contained in a
This Maven archive does include a Junit test currently being disabled by an
public class FractionTest {
/**
* Sums and products of fractions
*/
@Disabled // Remove me after completing your implementation
@Test
public void testAdditionMultiply() { The current skeleton will yield a |
A: |
See implementation at |