From d25b9151c841e5bd6e9d48d7e443d39822d9fef8 Mon Sep 17 00:00:00 2001 From: Mike Mazur Date: Sun, 7 Jun 2009 08:32:07 +0000 Subject: Rename private TestllAngleBetween method It seems overloading the method TestllAngleBetween confused nunit a bit and caused it to try running the private TestllAngleBetween method. The method's access modified prevented that from happening, and nunit complained. --- .../ScriptEngine/Shared/Tests/LSL_ApiTest.cs | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared') diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs index 8ce3a5b..47c2df6 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_ApiTest.cs @@ -71,24 +71,24 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests [Test] public void TestllAngleBetween() { - TestllAngleBetween(new Vector3(1, 0, 0), 0); - TestllAngleBetween(new Vector3(1, 0, 0), 90); - TestllAngleBetween(new Vector3(1, 0, 0), 180); + m_testllAngleBetween(new Vector3(1, 0, 0), 0); + m_testllAngleBetween(new Vector3(1, 0, 0), 90); + m_testllAngleBetween(new Vector3(1, 0, 0), 180); - TestllAngleBetween(new Vector3(0, 1, 0), 0); - TestllAngleBetween(new Vector3(0, 1, 0), 90); - TestllAngleBetween(new Vector3(0, 1, 0), 180); + m_testllAngleBetween(new Vector3(0, 1, 0), 0); + m_testllAngleBetween(new Vector3(0, 1, 0), 90); + m_testllAngleBetween(new Vector3(0, 1, 0), 180); - TestllAngleBetween(new Vector3(0, 0, 1), 0); - TestllAngleBetween(new Vector3(0, 0, 1), 90); - TestllAngleBetween(new Vector3(0, 0, 1), 180); + m_testllAngleBetween(new Vector3(0, 0, 1), 0); + m_testllAngleBetween(new Vector3(0, 0, 1), 90); + m_testllAngleBetween(new Vector3(0, 0, 1), 180); - TestllAngleBetween(new Vector3(1, 1, 1), 0); - TestllAngleBetween(new Vector3(1, 1, 1), 90); - TestllAngleBetween(new Vector3(1, 1, 1), 180); + m_testllAngleBetween(new Vector3(1, 1, 1), 0); + m_testllAngleBetween(new Vector3(1, 1, 1), 90); + m_testllAngleBetween(new Vector3(1, 1, 1), 180); } - private void TestllAngleBetween(Vector3 axis,float originalAngle) + private void m_testllAngleBetween(Vector3 axis,float originalAngle) { Quaternion rotation1 = Quaternion.CreateFromAxisAngle(axis, 0); Quaternion rotation2 = Quaternion.CreateFromAxisAngle(axis, ToRadians(originalAngle)); -- cgit v1.1