@Test public void testAppendReferenceFrame() { assertFalse(tFoot.equals(null)); assertTrue(tFoot.getReferenceFrames().size() == 1); tFoot.appendIfUniqueRFrame(fName + "-Spherical"); assertTrue(tFoot.getReferenceFrames().size() == 2); }
@Test public void testRemoveReferenceFrame() { assertTrue(tFoot.getReferenceFrames().size() == 1); tFoot.appendIfUniqueRFrame(fName + "-Spherical2"); assertTrue(tFoot.getReferenceFrames().size() == 2); tFoot.removeRFrames(fName + "-Spherical2"); assertTrue(tFoot.getReferenceFrames().size() == 1); }