Пример #1
0
 public void TestOneArray3()
 {
     //TDD Test Driven Development
     int[] myTestArray = { 100, 400, 22, 67 };
     Assert.AreEqual(589, CountingArrays.CountThisArray(myTestArray));
 }
Пример #2
0
 public void TestOneArray()
 {
     //TDD Test Driven Development
     int[] myTestArray = { 5, 4, 6, 5, 3, 6, 8, 9 };
     Assert.AreEqual(46, CountingArrays.CountThisArray(myTestArray));
 }
Пример #3
0
 public void TestOneArray2()
 {
     //TDD Test Driven Development
     int[] myTestArray = { 5, 4, 3, 2, 1 };
     Assert.AreEqual(15, CountingArrays.CountThisArray(myTestArray));
 }