public void FilterDigit1() { FilterDigit fil = new FilterDigit(); List <int> one = new List <int> { 7, 1, 2, 3, 4, 5, 6, 7, 68, 69, 70, 15, 17 }; List <int> res = new List <int> { 7, 70, 17 }; Assert.AreEqual(res, fil.FilDig(one)); }