diff options
author | Justin Clark-Casey (justincc) | 2012-04-14 01:43:03 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-04-14 01:43:03 +0100 |
commit | 3ae98611f2efd7c8fb7acc172f9252241dd5c918 (patch) | |
tree | 4b53edbbd90ac793757c9a7ed908363c15a65dd2 /OpenSim/Region/Framework | |
parent | Add very basic TestGetRootPartPosition() test (diff) | |
download | opensim-SC_OLD-3ae98611f2efd7c8fb7acc172f9252241dd5c918.zip opensim-SC_OLD-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.gz opensim-SC_OLD-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.bz2 opensim-SC_OLD-3ae98611f2efd7c8fb7acc172f9252241dd5c918.tar.xz |
Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition
Diffstat (limited to 'OpenSim/Region/Framework')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Tests/SceneObjectSpatialTests.cs | 2 |
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 |