aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-04-14 01:57:09 +0100
committerJustin Clark-Casey (justincc)2012-04-14 01:57:09 +0100
commit2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a (patch)
tree8221341f6e00d3618cd9312db78364d149232a27
parentminor: make test names consistent (diff)
downloadopensim-SC_OLD-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.zip
opensim-SC_OLD-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.gz
opensim-SC_OLD-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.bz2
opensim-SC_OLD-2c74e1bba8d93a1c3b95da913bc3de0aae6dca4a.tar.xz
Add GroupPosition and GetWorldPosition() checks to TestGetRootPartPosition()
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs4
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