From 47180080f0f4b93c60232b47ca4e093bd7c73a1d Mon Sep 17 00:00:00 2001 From: Jeff Ames Date: Tue, 18 Mar 2008 05:16:43 +0000 Subject: Formatting cleanup. --- OpenSim/Region/Physics/OdePlugin/ODETestClass.cs | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'OpenSim/Region/Physics/OdePlugin/ODETestClass.cs') 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 private PhysicsScene ps; private IMeshingPlugin imp; - [SetUp] public void Initialize() { @@ -63,8 +62,8 @@ namespace OpenSim.Region.Physics.OdePlugin _heightmap[i] = 21f; } ps.SetTerrain(_heightmap); - } + [TearDown] public void Terminate() { @@ -72,6 +71,7 @@ namespace OpenSim.Region.Physics.OdePlugin ps.Dispose(); } + [Test] public void CreateAndDropPhysicalCube() { @@ -87,8 +87,6 @@ namespace OpenSim.Region.Physics.OdePlugin prim.LocalID = 5; - - for (int i = 0; i < 38; i++) { ps.Simulate(0.133f); @@ -120,7 +118,5 @@ namespace OpenSim.Region.Physics.OdePlugin ps.Simulate(0.133f); Assert.That(oprim.Body == (IntPtr)0); } - - } } -- cgit v1.1