aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/Tests/BasicRegionTest.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs')
-rw-r--r--OpenSim/Data/Tests/BasicRegionTest.cs12
1 files changed, 12 insertions, 0 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs
index 8e58443..89cfd7f 100644
--- a/OpenSim/Data/Tests/BasicRegionTest.cs
+++ b/OpenSim/Data/Tests/BasicRegionTest.cs
@@ -243,6 +243,11 @@ namespace OpenSim.Data.Tests
243 byte clickaction = (byte) random.Next(127); 243 byte clickaction = (byte) random.Next(127);
244 PrimitiveBaseShape pbshap = new PrimitiveBaseShape(); 244 PrimitiveBaseShape pbshap = new PrimitiveBaseShape();
245 pbshap = PrimitiveBaseShape.Default; 245 pbshap = PrimitiveBaseShape.Default;
246 pbshap.PathBegin = ushort.MaxValue;
247 pbshap.PathEnd = ushort.MaxValue;
248 pbshap.ProfileBegin = ushort.MaxValue;
249 pbshap.ProfileEnd = ushort.MaxValue;
250 pbshap.ProfileHollow = ushort.MaxValue;
246 Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next()); 251 Vector3 scale = new Vector3(random.Next(),random.Next(),random.Next());
247 byte updatef = (byte) random.Next(127); 252 byte updatef = (byte) random.Next(127);
248 253
@@ -366,7 +371,14 @@ namespace OpenSim.Data.Tests
366 //Assert.That(linknum,Is.EqualTo(p.LinkNum)); 371 //Assert.That(linknum,Is.EqualTo(p.LinkNum));
367 Assert.That(clickaction,Is.EqualTo(p.ClickAction)); 372 Assert.That(clickaction,Is.EqualTo(p.ClickAction));
368 Assert.That(scale,Is.EqualTo(p.Scale)); 373 Assert.That(scale,Is.EqualTo(p.Scale));
374
369 //Assert.That(updatef,Is.EqualTo(p.UpdateFlag)); 375 //Assert.That(updatef,Is.EqualTo(p.UpdateFlag));
376
377 Assert.That(pbshap.PathBegin, Is.EqualTo(p.Shape.PathBegin));
378 Assert.That(pbshap.PathEnd, Is.EqualTo(p.Shape.PathEnd));
379 Assert.That(pbshap.ProfileBegin, Is.EqualTo(p.Shape.ProfileBegin));
380 Assert.That(pbshap.ProfileEnd, Is.EqualTo(p.Shape.ProfileEnd));
381 Assert.That(pbshap.ProfileHollow, Is.EqualTo(p.Shape.ProfileHollow));
370 } 382 }
371 383
372 [Test] 384 [Test]