greatestCommonDivisor(int, int) | | 81% | | 71% | 7 | 17 | 4 | 26 | 0 | 1 |
getFraction(double) | | 96% | | 81% | 3 | 9 | 1 | 35 | 0 | 1 |
getFraction(String) | | 94% | | 100% | 0 | 5 | 1 | 20 | 0 | 1 |
addSub(Fraction, boolean) | | 100% | | 100% | 0 | 9 | 0 | 19 | 0 | 1 |
toProperString() | | 100% | | 100% | 0 | 8 | 0 | 15 | 0 | 1 |
static {...} | | 100% | | n/a | 0 | 1 | 0 | 12 | 0 | 1 |
getReducedFraction(int, int) | | 100% | | 92% | 1 | 8 | 0 | 16 | 0 | 1 |
getFraction(int, int, int) | | 100% | | 100% | 0 | 7 | 0 | 12 | 0 | 1 |
pow(int) | | 100% | | 100% | 0 | 6 | 0 | 12 | 0 | 1 |
multiplyBy(Fraction) | | 100% | | 75% | 1 | 3 | 0 | 6 | 0 | 1 |
invert() | | 100% | | 100% | 0 | 4 | 0 | 7 | 0 | 1 |
compareTo(Fraction) | | 100% | | 100% | 0 | 4 | 0 | 7 | 0 | 1 |
reduce() | | 100% | | 100% | 0 | 4 | 0 | 6 | 0 | 1 |
getFraction(int, int) | | 100% | | 87% | 1 | 5 | 0 | 8 | 0 | 1 |
equals(Object) | | 100% | | 100% | 0 | 5 | 0 | 6 | 0 | 1 |
addAndCheck(int, int) | | 100% | | 100% | 0 | 3 | 0 | 4 | 0 | 1 |
mulAndCheck(int, int) | | 100% | | 75% | 1 | 3 | 0 | 4 | 0 | 1 |
subAndCheck(int, int) | | 100% | | 100% | 0 | 3 | 0 | 4 | 0 | 1 |
toString() | | 100% | | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
mulPosAndCheck(int, int) | | 100% | | 100% | 0 | 2 | 0 | 4 | 0 | 1 |
negate() | | 100% | | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
divideBy(Fraction) | | 100% | | 100% | 0 | 2 | 0 | 4 | 0 | 1 |
hashCode() | | 100% | | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
Fraction(int, int) | | 100% | | n/a | 0 | 1 | 0 | 4 | 0 | 1 |
abs() | | 100% | | 100% | 0 | 2 | 0 | 3 | 0 | 1 |
doubleValue() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
floatValue() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
longValue() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getProperNumerator() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getProperWhole() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
intValue() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
add(Fraction) | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
subtract(Fraction) | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getDenominator() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |
getNumerator() | | 100% | | n/a | 0 | 1 | 0 | 1 | 0 | 1 |