Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()

0.7.4.1
Justin Clark-Casey (justincc) 2012-04-14 01:57:09 +01:00
parent da342d0b21
commit 2c74e1bba8
1 changed files with 3 additions and 1 deletions

View File

@ -81,8 +81,10 @@ namespace OpenSim.Region.Framework.Scenes.Tests
m_scene.AddNewSceneObject(so, false); m_scene.AddNewSceneObject(so, false);
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition)); Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero)); Assert.That(so.RootPart.GroupPosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.GetWorldPosition(), Is.EqualTo(partPosition));
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition)); Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
} }
} }
} }