D | ShapeTest.java | 42 public void make() { in make() method in ShapeTest 43 Shape s = Shape.make(2); in make() 48 s = Shape.make(2, 3); in make() 54 s = Shape.make(-1, 2, 3); in make() 85 assertEquals(Shape.make(1, 2, 3), Shape.make(1, 2, 3)); in equalsWorksCorrectly() 87 assertNotEquals(Shape.make(1, 2), null); in equalsWorksCorrectly() 88 assertNotEquals(Shape.make(1, 2), new Object()); in equalsWorksCorrectly() 89 assertNotEquals(Shape.make(1, 2, 3), Shape.make(1, 2, 4)); in equalsWorksCorrectly() 92 assertNotEquals(Shape.make(-1), Shape.make(-1)); in equalsWorksCorrectly() 93 assertNotEquals(Shape.make(1, -1, 3), Shape.make(1, -1, 3)); in equalsWorksCorrectly() [all …]
|