public void GetMeasurementNoWithTodayDateFailTest() { string con = MyMethodsLib.GetConnectionString(); int exp = 10; int res = MyMethodsLib.GetMeasurementNoWithTodayDate("ladygoodwill", con); Assert.AreNotEqual(exp, res); }
public void GetMeasurementNoWithTodayDateExceptionThrownTest() { try { string con = MyMethodsLib.GetConnectionString(); int res = MyMethodsLib.GetMeasurementNoWithTodayDate("ladygoodwill", con); Assert.Fail(); } catch (Exception) { } }