Formatting nit.
@@ -467,9 +467,9 @@ public class FractionTest {
Assertions.assertTrue(zero.equals(zero2));
Assertions.assertEquals(zero.hashCode(), zero2.hashCode());
Fraction one = Fraction.of(1, 1);
- Assertions.assertFalse((one.equals(zero) ||zero.equals(one)));
+ Assertions.assertFalse(zero.equals(one));
+ Assertions.assertFalse(one.equals(zero));
}
-
@Test
public void testToString() {
Assertions.assertEquals("0", Fraction.of(0, 3).toString());
