diff options
author | Justin Clark-Casey (justincc) | 2012-04-14 01:57:09 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-14 01:57:09 +0100 |
commit | 2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a (patch) | |
tree | 8221341f6e00d3618cd9312db78364d149232a27 | |
parent | minor: make test names consistent (diff) | |
download | opensim-SC-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.zip opensim-SC-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.gz opensim-SC-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.bz2 opensim-SC-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.xz |
Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs index c38a22d..7a3b362 100644 --- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs +++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs | |||
@@ -81,8 +81,10 @@ namespace OpenSim.Region.Framework.Scenes.Tests | |||
81 | m_scene.AddNewSceneObject(so, false); | 81 | m_scene.AddNewSceneObject(so, false); |
82 | 82 | ||
83 | Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition)); | 83 | Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition)); |
84 | Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero)); | 84 | Assert.That(so.RootPart.GroupPosition, Is.EqualTo(partPosition)); |
85 | Assert.That(so.RootPart.GetWorldPosition(), Is.EqualTo(partPosition)); | ||
85 | Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition)); | 86 | Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition)); |
87 | Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero)); | ||
86 | } | 88 | } |
87 | } | 89 | } |
88 | } \ No newline at end of file | 90 | } \ No newline at end of file |