diff options
author | Sean Dague | 2008-09-12 18:46:44 +0000 |
---|---|---|
committer | Sean Dague | 2008-09-12 18:46:44 +0000 |
commit | d312f10420e7d7e93d5b72c7ea0bfa2819c4026c (patch) | |
tree | 23ee0b2ab074b051b3f45cb8323ba64470505603 /OpenSim/Data/Tests/BasicRegionTest.cs | |
parent | Cut of remote server as AppDomains and even WCF can do it better (better mean... (diff) | |
download | opensim-SC_OLD-d312f10420e7d7e93d5b72c7ea0bfa2819c4026c.zip opensim-SC_OLD-d312f10420e7d7e93d5b72c7ea0bfa2819c4026c.tar.gz opensim-SC_OLD-d312f10420e7d7e93d5b72c7ea0bfa2819c4026c.tar.bz2 opensim-SC_OLD-d312f10420e7d7e93d5b72c7ea0bfa2819c4026c.tar.xz |
use new style asserts. They are much easier to read.
Diffstat (limited to 'OpenSim/Data/Tests/BasicRegionTest.cs')
-rw-r--r-- | OpenSim/Data/Tests/BasicRegionTest.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Data/Tests/BasicRegionTest.cs b/OpenSim/Data/Tests/BasicRegionTest.cs index 39692f1..a172b8f 100644 --- a/OpenSim/Data/Tests/BasicRegionTest.cs +++ b/OpenSim/Data/Tests/BasicRegionTest.cs | |||
@@ -51,7 +51,7 @@ namespace OpenSim.Data.Tests | |||
51 | public void T001_LoadEmpty() | 51 | public void T001_LoadEmpty() |
52 | { | 52 | { |
53 | List<SceneObjectGroup> objs = db.LoadObjects(region); | 53 | List<SceneObjectGroup> objs = db.LoadObjects(region); |
54 | Assert.AreEqual(0, objs.Count); | 54 | Assert.That(objs.Count, Is.EqualTo(0)); |
55 | } | 55 | } |
56 | 56 | ||
57 | // SOG round trips | 57 | // SOG round trips |
@@ -69,7 +69,7 @@ namespace OpenSim.Data.Tests | |||
69 | 69 | ||
70 | // This tests the ADO.NET driver | 70 | // This tests the ADO.NET driver |
71 | List<SceneObjectGroup> objs = db.LoadObjects(region); | 71 | List<SceneObjectGroup> objs = db.LoadObjects(region); |
72 | Assert.AreEqual(2, objs.Count); | 72 | Assert.That(objs.Count, Is.EqualTo(2)); |
73 | } | 73 | } |
74 | 74 | ||
75 | [Test] | 75 | [Test] |