2009-06-24 Robert Jordan <robertj@gmx.net>
[mono.git] / mcs / class / corlib / Test / System.Collections / DictionaryEntryTest.cs
index c90ff5de8dfdfc2c92b42f3d0db095b6d447cf7f..480e6c06cede1c277c38759010dcb3ae1d523514 100644 (file)
@@ -7,28 +7,28 @@ using NUnit.Framework;
 namespace MonoTests.System.Collections {
 
        [TestFixture]
-       public class DictionaryEntryTest : Assertion {
+       public class DictionaryEntryTest {
                [Test]
                public void Ctor () {
 
                        DictionaryEntry d = new DictionaryEntry (1, "something");
-                       AssertNotNull (d);
-                       AssertEquals ("#01", d.Key, 1);
-                       AssertEquals ("#02", d.Value, "something");
+                       Assert.IsNotNull (d);
+                       Assert.AreEqual (1, d.Key, "#01");
+                       Assert.AreEqual ("something", d.Value, "#02");
                }
 
                [Test]
                public void Key () {
                        DictionaryEntry d = new DictionaryEntry (1, "something");
                        d.Key = 77.77;
-                       AssertEquals ("#03", d.Key, 77.77);
+                       Assert.AreEqual (77.77, d.Key, "#03");
                }
 
                [Test]
                public void Value () {
                        DictionaryEntry d = new DictionaryEntry (1, "something");
                        d.Value = 'p';
-                       AssertEquals ("#04", d.Value, 'p');
+                       Assert.AreEqual ('p', d.Value, "#04");
                }
 
                [Test]