Example #1
0
        public static void Test6(int mockNumber, int expectedMockNumber)
        {
            int[,] arr = DoubleArrayMock.GetMock(mockNumber);

            int[,] actual = DoubleArrays.Test6(arr);
            Assert.AreEqual(DoubleArrayMock.GetMock(expectedMockNumber), actual);
        }
Example #2
0
        public static void Test4(int mockNumber, string expected)
        {
            int[,] arr = DoubleArrayMock.GetMock(mockNumber);

            string actual = DoubleArrays.Test4(arr);

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

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