Exemple #1
0
	    public void testEmpty()
        {
		    EditList l = new EditList();
		    Assert.AreEqual(0, l.size());
		    Assert.IsTrue(l.isEmpty());
		    Assert.AreEqual("EditList[]", l.ToString());

		    Assert.IsTrue(l.Equals(l));
		    Assert.IsTrue(l.Equals(new EditList()));
		    Assert.IsFalse(l.Equals(""));
            Assert.AreEqual(l.GetHashCode(), new EditList().GetHashCode());
	    }