Пример #1
0
        public void AddMultiTest2()
        {
            List <int> testInts = new List <int> {
                -1, -2, -3, -4
            };

            Assert.AreEqual(MyMath.AddMulti(testInts), -10);
        }
Пример #2
0
        public void AddMultiTest1()
        {
            List <int> testInts = new List <int> {
                1, 2, 3, 4
            };

            Assert.AreEqual(MyMath.AddMulti(testInts), 10);
        }