aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-03-06 02:21:19 +0000
committerJustin Clark-Casey (justincc)2012-03-06 02:21:19 +0000
commita92153ed88859af9d68b206ec320fc993fe5cdc7 (patch)
tree928539c14c4c398c07be0d97b5ede75b3613e4db /OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs
parentFix off by one error in script error reporting. (diff)
downloadopensim-SC_OLD-a92153ed88859af9d68b206ec320fc993fe5cdc7.zip
opensim-SC_OLD-a92153ed88859af9d68b206ec320fc993fe5cdc7.tar.gz
opensim-SC_OLD-a92153ed88859af9d68b206ec320fc993fe5cdc7.tar.bz2
opensim-SC_OLD-a92153ed88859af9d68b206ec320fc993fe5cdc7.tar.xz
Get all test methods in OpenSim.Region.ScriptEngine.Tests.dll to report that they're running
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs9
1 files changed, 5 insertions, 4 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs
index 195af7f..ebf8001 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Tests/LSL_TypesTestVector3.cs
@@ -32,16 +32,17 @@ using OpenSim.Region.ScriptEngine.Shared;
32 32
33namespace OpenSim.Region.ScriptEngine.Shared.Tests 33namespace OpenSim.Region.ScriptEngine.Shared.Tests
34{ 34{
35 /// <summary>
36 /// Tests for Vector3
37 /// </summary>
35 [TestFixture] 38 [TestFixture]
36 public class LSL_TypesTestVector3 39 public class LSL_TypesTestVector3
37 { 40 {
38 /// <summary>
39 /// Tests for Vector3
40 /// </summary>
41 [Test] 41 [Test]
42
43 public void TestDotProduct() 42 public void TestDotProduct()
44 { 43 {
44 TestHelpers.InMethod();
45
45 // The numbers we test for. 46 // The numbers we test for.
46 Dictionary<string, double> expectsSet = new Dictionary<string, double>(); 47 Dictionary<string, double> expectsSet = new Dictionary<string, double>();
47 expectsSet.Add("<1, 2, 3> * <2, 3, 4>", 20.0); 48 expectsSet.Add("<1, 2, 3> * <2, 3, 4>", 20.0);