Ejemplo n.º 1
0
        public void GetMeasurementNoWithTodayDateFailTest()
        {
            string con = MyMethodsLib.GetConnectionString();
            int    exp = 10;
            int    res = MyMethodsLib.GetMeasurementNoWithTodayDate("ladygoodwill", con);

            Assert.AreNotEqual(exp, res);
        }
Ejemplo n.º 2
0
 public void GetMeasurementNoWithTodayDateExceptionThrownTest()
 {
     try
     {
         string con = MyMethodsLib.GetConnectionString();
         int    res = MyMethodsLib.GetMeasurementNoWithTodayDate("ladygoodwill", con);
         Assert.Fail();
     }
     catch (Exception) { }
 }