Exemplo n.º 1
0
	    public void testCreateEmpty()
        {
		    Edit e = new Edit(1, 3);
		    Assert.AreEqual(1, e.getBeginA());
		    Assert.AreEqual(1, e.getEndA());
		    Assert.AreEqual(3, e.getBeginB());
		    Assert.AreEqual(3, e.getEndB());
	    }
Exemplo n.º 2
0
	    public void testCreate()
        {
		    Edit e = new Edit(1, 2, 3, 4);
		    Assert.AreEqual(1, e.getBeginA());
		    Assert.AreEqual(2, e.getEndA());
		    Assert.AreEqual(3, e.getBeginB());
		    Assert.AreEqual(4, e.getEndB());
	    }