use of org.hipparchus.fraction.BigFraction in project symja_android_library by axkr.
the class FractionTestCase method assertEquals.
private static void assertEquals(String expected, IExpr actual) {
if (actual instanceof IFraction) {
BigFraction bigFraction = ((IFraction) actual).toBigFraction();
Assertions.assertEquals(expected, bigFraction.toString().replaceAll("[\\s]", ""));
}
}
Aggregations