public void AddValue_ShouldAdd() { var list = new List <decimal> { 1, 2, 3 }; Lists.AddValue(list, -1); Assert.AreEqual(-1, list.Last()); }
public void AddValue_ShouldAddMultipleValues() { var list = new List <decimal> { 1, 2, 3 }; Lists.AddValue(list, new List <decimal> { -1 }); Assert.AreEqual(-1, list.Last()); }