aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorDahlia Trimble2009-04-07 17:03:00 +0000
committerDahlia Trimble2009-04-07 17:03:00 +0000
commite7a051d2bed6b4a265bf778349690557ca9128a2 (patch)
tree00b5d7ed30327b7d9c8fc354906f50bad86abfd4 /OpenSim
parentFrom: Alan Webb <alan_webb@us.ibm.com> (diff)
downloadopensim-SC_OLD-e7a051d2bed6b4a265bf778349690557ca9128a2.zip
opensim-SC_OLD-e7a051d2bed6b4a265bf778349690557ca9128a2.tar.gz
opensim-SC_OLD-e7a051d2bed6b4a265bf778349690557ca9128a2.tar.bz2
opensim-SC_OLD-e7a051d2bed6b4a265bf778349690557ca9128a2.tar.xz
remove defective test criteria from unit test for llAngleBetween
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs8
1 files changed, 4 insertions, 4 deletions
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
73 TestllAngleBetween(new Vector3(1, 0, 0), 0); 73 TestllAngleBetween(new Vector3(1, 0, 0), 0);
74 TestllAngleBetween(new Vector3(1, 0, 0), 90); 74 TestllAngleBetween(new Vector3(1, 0, 0), 90);
75 TestllAngleBetween(new Vector3(1, 0, 0), 180); 75 TestllAngleBetween(new Vector3(1, 0, 0), 180);
76 TestllAngleBetween(new Vector3(1, 0, 0), 270); 76 //TestllAngleBetween(new Vector3(1, 0, 0), 270); // angles cant be larger than 180
77 77
78 TestllAngleBetween(new Vector3(0, 1, 0), 0); 78 TestllAngleBetween(new Vector3(0, 1, 0), 0);
79 TestllAngleBetween(new Vector3(0, 1, 0), 90); 79 TestllAngleBetween(new Vector3(0, 1, 0), 90);
80 TestllAngleBetween(new Vector3(0, 1, 0), 180); 80 TestllAngleBetween(new Vector3(0, 1, 0), 180);
81 TestllAngleBetween(new Vector3(0, 1, 0), 270); 81 //TestllAngleBetween(new Vector3(0, 1, 0), 270);
82 82
83 TestllAngleBetween(new Vector3(0, 0, 1), 0); 83 TestllAngleBetween(new Vector3(0, 0, 1), 0);
84 TestllAngleBetween(new Vector3(0, 0, 1), 90); 84 TestllAngleBetween(new Vector3(0, 0, 1), 90);
85 TestllAngleBetween(new Vector3(0, 0, 1), 180); 85 TestllAngleBetween(new Vector3(0, 0, 1), 180);
86 TestllAngleBetween(new Vector3(0, 0, 1), 270); 86 //TestllAngleBetween(new Vector3(0, 0, 1), 270);
87 87
88 TestllAngleBetween(new Vector3(1, 1, 1), 0); 88 TestllAngleBetween(new Vector3(1, 1, 1), 0);
89 TestllAngleBetween(new Vector3(1, 1, 1), 90); 89 TestllAngleBetween(new Vector3(1, 1, 1), 90);
90 TestllAngleBetween(new Vector3(1, 1, 1), 180); 90 TestllAngleBetween(new Vector3(1, 1, 1), 180);
91 TestllAngleBetween(new Vector3(1, 1, 1), 270); 91 //TestllAngleBetween(new Vector3(1, 1, 1), 270);
92 } 92 }
93 93
94 private void TestllAngleBetween(Vector3 axis,float originalAngle) 94 private void TestllAngleBetween(Vector3 axis,float originalAngle)