diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Tests')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs index 71b88bc..fe2113b 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestList.cs | |||
@@ -270,6 +270,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests | |||
270 | TestHelpers.InMethod(); | 270 | TestHelpers.InMethod(); |
271 | 271 | ||
272 | LSL_Types.Quaternion testValue = new LSL_Types.Quaternion(12.64, 59.43723, 765.3421, 4.00987); | 272 | LSL_Types.Quaternion testValue = new LSL_Types.Quaternion(12.64, 59.43723, 765.3421, 4.00987); |
273 | // make that nonsense a quaternion | ||
274 | testValue.Normalize(); | ||
273 | LSL_Types.list testList = new LSL_Types.list(testValue); | 275 | LSL_Types.list testList = new LSL_Types.list(testValue); |
274 | 276 | ||
275 | Assert.AreEqual(testValue, testList.GetQuaternionItem(0)); | 277 | Assert.AreEqual(testValue, testList.GetQuaternionItem(0)); |