aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
diff options
context:
space:
mode:
authorJeff Ames2008-03-18 05:16:43 +0000
committerJeff Ames2008-03-18 05:16:43 +0000
commit47180080f0f4b93c60232b47ca4e093bd7c73a1d (patch)
tree780f51135995bb4be311e6f2b331cfa5c4b16d9d /OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
parentAdded copyright messages. Set svn:eol-style. Minor cleanup. (diff)
downloadopensim-SC_OLD-47180080f0f4b93c60232b47ca4e093bd7c73a1d.zip
opensim-SC_OLD-47180080f0f4b93c60232b47ca4e093bd7c73a1d.tar.gz
opensim-SC_OLD-47180080f0f4b93c60232b47ca4e093bd7c73a1d.tar.bz2
opensim-SC_OLD-47180080f0f4b93c60232b47ca4e093bd7c73a1d.tar.xz
Formatting cleanup.
Diffstat (limited to 'OpenSim/Region/Physics/OdePlugin/ODETestClass.cs')
-rw-r--r--OpenSim/Region/Physics/OdePlugin/ODETestClass.cs8
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
index f0cea3c..f56cf5c 100644
--- a/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
+++ b/OpenSim/Region/Physics/OdePlugin/ODETestClass.cs
@@ -45,7 +45,6 @@ namespace OpenSim.Region.Physics.OdePlugin
45 private PhysicsScene ps; 45 private PhysicsScene ps;
46 private IMeshingPlugin imp; 46 private IMeshingPlugin imp;
47 47
48
49 [SetUp] 48 [SetUp]
50 public void Initialize() 49 public void Initialize()
51 { 50 {
@@ -63,8 +62,8 @@ namespace OpenSim.Region.Physics.OdePlugin
63 _heightmap[i] = 21f; 62 _heightmap[i] = 21f;
64 } 63 }
65 ps.SetTerrain(_heightmap); 64 ps.SetTerrain(_heightmap);
66
67 } 65 }
66
68 [TearDown] 67 [TearDown]
69 public void Terminate() 68 public void Terminate()
70 { 69 {
@@ -72,6 +71,7 @@ namespace OpenSim.Region.Physics.OdePlugin
72 ps.Dispose(); 71 ps.Dispose();
73 72
74 } 73 }
74
75 [Test] 75 [Test]
76 public void CreateAndDropPhysicalCube() 76 public void CreateAndDropPhysicalCube()
77 { 77 {
@@ -87,8 +87,6 @@ namespace OpenSim.Region.Physics.OdePlugin
87 87
88 prim.LocalID = 5; 88 prim.LocalID = 5;
89 89
90
91
92 for (int i = 0; i < 38; i++) 90 for (int i = 0; i < 38; i++)
93 { 91 {
94 ps.Simulate(0.133f); 92 ps.Simulate(0.133f);
@@ -120,7 +118,5 @@ namespace OpenSim.Region.Physics.OdePlugin
120 ps.Simulate(0.133f); 118 ps.Simulate(0.133f);
121 Assert.That(oprim.Body == (IntPtr)0); 119 Assert.That(oprim.Body == (IntPtr)0);
122 } 120 }
123
124
125 } 121 }
126} 122}