Beispiel #1
0
        public static void Test3(int mockNumber, string expected)
        {
            int[,] arr = DoubleArrayMock.GetMock(mockNumber);

            string actual = DoubleArrays.Test3(arr);

            Assert.AreEqual(expected, actual);
        }
Beispiel #2
0
        public static void Test3_WhenArrayEmpty_ArgumentExpection(int mockNumber)
        {
            int[,] arr = DoubleArrayMock.GetMock(mockNumber);

            Assert.Throws <ArgumentException>(() => DoubleArrays.Test3(arr));
        }