Regression, really ???

melanie
UbitUmarov 2016-11-05 18:44:45 +00:00
parent 1c7b688db4
commit 4b0457b2d3
1 changed files with 2 additions and 0 deletions

View File

@ -270,6 +270,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests
TestHelpers.InMethod(); TestHelpers.InMethod();
LSL_Types.Quaternion testValue = new LSL_Types.Quaternion(12.64, 59.43723, 765.3421, 4.00987); LSL_Types.Quaternion testValue = new LSL_Types.Quaternion(12.64, 59.43723, 765.3421, 4.00987);
// make that nonesense a quartenion
testValue.Normalize();
LSL_Types.list testList = new LSL_Types.list(testValue); LSL_Types.list testList = new LSL_Types.list(testValue);
Assert.AreEqual(testValue, testList.GetQuaternionItem(0)); Assert.AreEqual(testValue, testList.GetQuaternionItem(0));