diff options
Diffstat (limited to 'OpenSim/Region/Environment/Modules/World/Terrain/Tests')
-rw-r--r-- | OpenSim/Region/Environment/Modules/World/Terrain/Tests/TerrainTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/Environment/Modules/World/Terrain/Tests/TerrainTest.cs b/OpenSim/Region/Environment/Modules/World/Terrain/Tests/TerrainTest.cs index 61ebc5c..eaa674e 100644 --- a/OpenSim/Region/Environment/Modules/World/Terrain/Tests/TerrainTest.cs +++ b/OpenSim/Region/Environment/Modules/World/Terrain/Tests/TerrainTest.cs | |||
@@ -40,14 +40,14 @@ namespace OpenSim.Region.Environment.Modules.World.Terrain.Tests | |||
40 | TerrainChannel x = new TerrainChannel(256, 256); | 40 | TerrainChannel x = new TerrainChannel(256, 256); |
41 | ITerrainPaintableEffect effect = new RaiseSphere(); | 41 | ITerrainPaintableEffect effect = new RaiseSphere(); |
42 | 42 | ||
43 | effect.PaintEffect(x, 128.0, 128.0, 50, 0.1); | 43 | effect.PaintEffect(x, 128.0, 128.0, 100, 0.1); |
44 | Assert.That(x[128, 128] > 0.0, "Raise brush not raising values."); | 44 | Assert.That(x[128, 128] > 0.0, "Raise brush not raising values."); |
45 | Assert.That(x[0, 128] > 0.0, "Raise brush lowering edge values."); | 45 | Assert.That(x[0, 128] > 0.0, "Raise brush lowering edge values."); |
46 | 46 | ||
47 | x = new TerrainChannel(256, 256); | 47 | x = new TerrainChannel(256, 256); |
48 | effect = new LowerSphere(); | 48 | effect = new LowerSphere(); |
49 | 49 | ||
50 | effect.PaintEffect(x, 128.0, 128.0, 50, 0.1); | 50 | effect.PaintEffect(x, 128.0, 128.0, 100, 0.1); |
51 | Assert.That(x[128, 128] < 0.0, "Lower not lowering values."); | 51 | Assert.That(x[128, 128] < 0.0, "Lower not lowering values."); |
52 | Assert.That(x[0, 128] < 0.0, "Lower brush affecting edge values."); | 52 | Assert.That(x[0, 128] < 0.0, "Lower brush affecting edge values."); |
53 | } | 53 | } |