Ejemplo n.º 1
0
        public void TestLastConnFail()
        {
            setFailConn();
            ACAD food = new CADType("GebatDataConnectionString");

            food.Last();
        }
Ejemplo n.º 2
0
 public void TestLast()
 {
     ACAD food = new CADType("GebatDataConnectionString");
     DataRow actual = food.Last();
     DataRow expected = food.GetVoidRow;
     expected ["Id"] = 4;
     expected ["Name"] = "Paquetes";
     Assert.AreEqual(expected["Id"], actual["Id"]);
     Assert.AreEqual(expected["Name"], actual["Name"]);
 }