Nit: Formatting (unit tests).
@@ -495,14 +495,18 @@ public class FractionTest {
Fraction.of(-5, 2)
};
for (Fraction fraction : fractions) {
- Assertions.assertEquals(fraction, TestUtils.serializeAndRecover(fraction));
+ Assertions.assertEquals(fraction,
+ TestUtils.serializeAndRecover(fraction));
}
}
@Test
public void testParse() {
String[] validExpressions = new String[] {
- "1 / 2", "15 / 16", "-2 / 3", "8 / 7"
+ "1 / 2",
+ "15 / 16",
+ "-2 / 3",
+ "8 / 7"
};
Fraction[] fractions = {
Fraction.of(1, 2),
