aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Tests
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework/Tests')
-rw-r--r--OpenSim/Framework/Tests/LocationTest.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/OpenSim/Framework/Tests/LocationTest.cs b/OpenSim/Framework/Tests/LocationTest.cs
index 1c10a39..118ec94 100644
--- a/OpenSim/Framework/Tests/LocationTest.cs
+++ b/OpenSim/Framework/Tests/LocationTest.cs
@@ -45,6 +45,22 @@ namespace OpenSim.Framework.Tests
45 Location TestLocation1 = new Location(1099511628032000); 45 Location TestLocation1 = new Location(1099511628032000);
46 Location TestLocation2 = new Location(1099511628032000); 46 Location TestLocation2 = new Location(1099511628032000);
47 Assert.That(TestLocation1 == TestLocation2); 47 Assert.That(TestLocation1 == TestLocation2);
48
49 TestLocation1 = new Location(1099511628032001);
50 TestLocation2 = new Location(1099511628032000);
51 Assert.That(TestLocation1 != TestLocation2);
52 }
53
54 [Test]
55 public void locationXYRegionHandle()
56 {
57 Location TestLocation1 = new Location(256000,256000);
58 Location TestLocation2 = new Location(1099511628032000);
59 Assert.That(TestLocation1 == TestLocation2);
60
61 TestLocation1 = new Location(256001, 256001);
62 TestLocation2 = new Location(1099511628032000);
63 Assert.That(TestLocation1 != TestLocation2);
48 } 64 }
49 65
50 } 66 }