@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameOrientation3DReadOnly.class, Orientation3DReadOnly.class, true); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameOrientation3DBasics.class, Orientation3DBasics.class, true); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameYawPitchRollReadOnly.class, YawPitchRollReadOnly.class, true); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {YawPitchRoll.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {YawPitchRoll.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {YawPitchRoll.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameYawPitchRoll.class, YawPitchRoll.class, true, 1, framelessMethodsToIgnore); }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameTuple3DReadOnly.class, Tuple3DReadOnly.class, true); } }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLineSegment3DReadOnly.class, LineSegment3DReadOnly.class, true); }
@Override public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameTuple4DBasics.class, Tuple4DBasics.class, true, 1, framelessMethodsToIgnore); }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLine2DReadOnly.class, Line2DReadOnly.class, true); }
@Override public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Vector3D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Vector3D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Vector3D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameVector3D.class, Vector3D.class, true, 1, framelessMethodsToIgnore); } }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLineSegment2DReadOnly.class, LineSegment2DReadOnly.class, true); }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FramePose2DReadOnly.class, Pose2DReadOnly.class, true); } }
@Test public void testOverloading() throws Exception { EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameOrientation2DReadOnly.class, Orientation2DReadOnly.class, true); } }
@Test public void testOverloading() throws Exception { Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLine3DReadOnly.class, Line3DReadOnly.class, true, 1, framelessMethodsToIgnore); }
@Test public void testOverloading() throws Exception { Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FramePose3DReadOnly.class, Pose3DReadOnly.class, true, 1, framelessMethodsToIgnore); } }
@Override public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Point2D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Point2D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Point2D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FramePoint2D.class, Point2D.class, true, 1, framelessMethodsToIgnore); } }
@Override public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {ConvexPolygon2D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {ConvexPolygon2D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {ConvexPolygon2D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameConvexPolygon2D.class, ConvexPolygon2D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Pose3D.class}); framelessMethodsToIgnore.put("equals", new Class<?>[] {Pose3D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Pose3D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Pose3D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FramePose3D.class, Pose3D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Matrix3D.class}); framelessMethodsToIgnore.put("equals", new Class<?>[] {Matrix3D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Matrix3D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Matrix3D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameMatrix3D.class, Matrix3D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Predicate<Method> framelessMethodsToIgnore = m -> !m.getName().equals("set") && !m.getName().equals("equals") && !m.getName().equals("epsilonEquals") && !m.getName().equals("geometricallyEquals"); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLine2D.class, Line2D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {LineSegment2D.class}); framelessMethodsToIgnore.put("equals", new Class<?>[] {LineSegment2D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {LineSegment2D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {LineSegment2D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameLineSegment2D.class, LineSegment2D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Pose2D.class}); framelessMethodsToIgnore.put("equals", new Class<?>[] {Pose2D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Pose2D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Pose2D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FramePose2D.class, Pose2D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); Map<String, Class<?>[]> framelessMethodsToIgnore = new HashMap<>(); framelessMethodsToIgnore.put("set", new Class<?>[] {Orientation2D.class}); framelessMethodsToIgnore.put("equals", new Class<?>[] {Orientation2D.class}); framelessMethodsToIgnore.put("epsilonEquals", new Class<?>[] {Orientation2D.class, Double.TYPE}); framelessMethodsToIgnore.put("geometricallyEquals", new Class<?>[] {Orientation2D.class, Double.TYPE}); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameOrientation2D.class, Orientation2D.class, true, 1, framelessMethodsToIgnore); }
@Override @Test public void testOverloading() throws Exception { super.testOverloading(); EuclidFrameAPITestTools.assertOverloadingWithFrameObjects(FrameQuaternionReadOnly.class, QuaternionReadOnly.class, true); }