public void GetWeightInputsTest() { string con = MyMethodsLib.GetConnectionString(); List <string> exp = new List <string>(); var res = MyMethodsLib.GetWeightInputs("ladygoodwill", con); Assert.AreEqual(exp.Count, res.Count); }
public void GetWeightInputsExceptionThrownTest() { try { string con = MyMethodsLib.GetConnectionString(); var res = MyMethodsLib.GetWeightInputs("ladygoodwill", con); Assert.Fail(); } catch (Exception) { } }