예제 #1
0
 public void SummOddIndexOfArray_5_ArrayLenghtTo0_ShouldEception(int[] x)
 {
     Assert.Throws <ArgumentException>(() => ArrayRank1.SummOddIndexOfArray_5(x));
 }
예제 #2
0
        public void SummOddIndexOfArray_5Test(int[] x, int exprcted)
        {
            int actual = ArrayRank1.SummOddIndexOfArray_5(x);

            Assert.AreEqual(exprcted, actual);
        }