aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-04-14 01:43:03 +0100
committerJustin Clark-Casey (justincc)2012-04-14 01:43:03 +0100
commit3ae98611f2efd7c8fb7acc172f9252241dd5c918 (patch)
tree4b53edbbd90ac793757c9a7ed908363c15a65dd2
parentAdd very basic TestGetRootPartPosition() test (diff)
downloadopensim-SC-3ae98611f2efd7c8fb7acc172f9252241dd5c918.zip
opensim-SC-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.gz
opensim-SC-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.bz2
opensim-SC-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.xz
Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs
index 10c78b5..19526c0 100644
--- a/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs
+++ b/OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs
@@ -60,6 +60,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
60 60
61 Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition)); 61 Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
62 Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition)); 62 Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
63 Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
64 Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
63 } 65 }
64 } 66 }
65} \ No newline at end of file 67} \ No newline at end of file