diff options
Diffstat (limited to 'OpenSim/Data')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 6cdedd6..6fd0191 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -33,6 +33,7 @@ using OpenSim.Framework; | |||
33 | using OpenSim.Data; | 33 | using OpenSim.Data; |
34 | using OpenSim.Region.Environment.Interfaces; | 34 | using OpenSim.Region.Environment.Interfaces; |
35 | using OpenSim.Region.Environment.Scenes; | 35 | using OpenSim.Region.Environment.Scenes; |
36 | using OpenSim.Region.Environment.Modules.World.Land; | ||
36 | using OpenMetaverse; | 37 | using OpenMetaverse; |
37 | 38 | ||
38 | namespace OpenSim.Data.Tests | 39 | namespace OpenSim.Data.Tests |
@@ -304,8 +305,13 @@ namespace OpenSim.Data.Tests | |||
304 | Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0)); | 305 | Assert.That(db.LoadLandObjects(region2).Count, Is.EqualTo(0)); |
305 | Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0)); | 306 | Assert.That(db.LoadLandObjects(UUID.Random()).Count, Is.EqualTo(0)); |
306 | } | 307 | } |
307 | |||
308 | 308 | ||
309 | // TODO: we should have real land tests, but Land is so | ||
310 | // intermingled with scene that you can't test it without a | ||
311 | // valid scene. That requires some disagregation. | ||
312 | |||
313 | |||
314 | //************************************************************************************// | ||
309 | // Extra private methods | 315 | // Extra private methods |
310 | 316 | ||
311 | private double[,] GenTerrain(double value) | 317 | private double[,] GenTerrain(double value) |