示例#1
0
 @Test
 public void testAppendReferenceFrame() {
   assertFalse(tFoot.equals(null));
   assertTrue(tFoot.getReferenceFrames().size() == 1);
   tFoot.appendIfUniqueRFrame(fName + "-Spherical");
   assertTrue(tFoot.getReferenceFrames().size() == 2);
 }
示例#2
0
 @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);
 }