Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition

0.7.3-extended
Justin Clark-Casey (justincc) 2012-04-14 01:43:03 +01:00
parent 0a51289332
commit a20d1b8f6b
1 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,8 @@ namespace OpenSim.Region.Framework.Scenes.Tests
Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition)); Assert.That(so.AbsolutePosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition)); Assert.That(so.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
} }
} }
} }