public void GetReferenceFrameTestSun() { Group group = new Group("Sun", GroupType.ReferenceFrame, null); string expected = "Sun"; string actual; actual = GroupExtensions.GetReferenceFrame(group); Assert.AreEqual(expected, actual); }
public void GetReferenceFrameTestEarth() { Group sun = new Group("Sun", GroupType.ReferenceFrame, null); Group earth = new Group("Earth", GroupType.ReferenceFrame, sun); string expected = "Earth"; string actual; actual = GroupExtensions.GetReferenceFrame(earth); Assert.AreEqual(expected, actual); }