use new style asserts. They are much easier to read.

0.6.0-stable
Sean Dague 2008-09-12 18:46:44 +00:00
parent b41acfb4cf
commit d312f10420
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ namespace OpenSim.Data.Tests
public void T001_LoadEmpty() public void T001_LoadEmpty()
{ {
List<SceneObjectGroup> objs = db.LoadObjects(region); List<SceneObjectGroup> objs = db.LoadObjects(region);
Assert.AreEqual(0, objs.Count); Assert.That(objs.Count, Is.EqualTo(0));
} }
// SOG round trips // SOG round trips
@ -69,7 +69,7 @@ namespace OpenSim.Data.Tests
// This tests the ADO.NET driver // This tests the ADO.NET driver
List<SceneObjectGroup> objs = db.LoadObjects(region); List<SceneObjectGroup> objs = db.LoadObjects(region);
Assert.AreEqual(2, objs.Count); Assert.That(objs.Count, Is.EqualTo(2));
} }
[Test] [Test]