Add simple RelativePosition and OffsetPosition checks to TestGetRootPartPosition

0.7.4.1
Justin Clark-Casey (justincc) 2012-04-14 01:43:03 +01:00
parent eeec1f32c6
commit 3ae98611f2
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.RootPart.AbsolutePosition, Is.EqualTo(partPosition));
Assert.That(so.RootPart.OffsetPosition, Is.EqualTo(Vector3.Zero));
Assert.That(so.RootPart.RelativePosition, Is.EqualTo(partPosition));
}
}
}