Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()

0.7.3-extended
Justin Clark-Casey (justincc) 2012-04-14 01:57:09 +01:00
parent b22dfbbf15
commit 411dbb8df4
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);
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.OffsetPosition, Is.EqualTo(Vector3.Zero));
}
}
}