Пример #1
0
        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);
        }
Пример #2
0
 public void GetWeightInputsExceptionThrownTest()
 {
     try
     {
         string con = MyMethodsLib.GetConnectionString();
         var    res = MyMethodsLib.GetWeightInputs("ladygoodwill", con);
         Assert.Fail();
     }
     catch (Exception) { }
 }