示例#1
0
        public void AddValue_ShouldAdd()
        {
            var list = new List <decimal> {
                1, 2, 3
            };

            Lists.AddValue(list, -1);

            Assert.AreEqual(-1, list.Last());
        }
示例#2
0
        public void AddValue_ShouldAddMultipleValues()
        {
            var list = new List <decimal> {
                1, 2, 3
            };

            Lists.AddValue(list, new List <decimal> {
                -1
            });

            Assert.AreEqual(-1, list.Last());
        }