From e7a051d2bed6b4a265bf778349690557ca9128a2 Mon Sep 17 00:00:00 2001 From: Dahlia Trimble Date: Tue, 7 Apr 2009 17:03:00 +0000 Subject: remove defective test criteria from unit test for llAngleBetween --- OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index 534e8b3..336cc12 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -73,22 +73,22 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests TestllAngleBetween(new Vector3(1, 0, 0), 0); TestllAngleBetween(new Vector3(1, 0, 0), 90); TestllAngleBetween(new Vector3(1, 0, 0), 180); - TestllAngleBetween(new Vector3(1, 0, 0), 270); + //TestllAngleBetween(new Vector3(1, 0, 0), 270); // angles cant be larger than 180 TestllAngleBetween(new Vector3(0, 1, 0), 0); TestllAngleBetween(new Vector3(0, 1, 0), 90); TestllAngleBetween(new Vector3(0, 1, 0), 180); - TestllAngleBetween(new Vector3(0, 1, 0), 270); + //TestllAngleBetween(new Vector3(0, 1, 0), 270); TestllAngleBetween(new Vector3(0, 0, 1), 0); TestllAngleBetween(new Vector3(0, 0, 1), 90); TestllAngleBetween(new Vector3(0, 0, 1), 180); - TestllAngleBetween(new Vector3(0, 0, 1), 270); + //TestllAngleBetween(new Vector3(0, 0, 1), 270); TestllAngleBetween(new Vector3(1, 1, 1), 0); TestllAngleBetween(new Vector3(1, 1, 1), 90); TestllAngleBetween(new Vector3(1, 1, 1), 180); - TestllAngleBetween(new Vector3(1, 1, 1), 270); + //TestllAngleBetween(new Vector3(1, 1, 1), 270); } private void TestllAngleBetween(Vector3 axis,float originalAngle) -- cgit v1.1