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.
0.6.6-post-fixes
Mike Mazur 2009-06-07 08:32:07 +00:00
parent db9d3d3a90
commit d25b9151c8
1 changed files with 13 additions and 13 deletions

View File

@ -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));