Beispiel #1
0
        public void Test3()
        {
            int[] expected = null;
            int[] arr      = null;
            var   actual   = Class6.SquareOfEachNumber(arr);

            Assert.Equal(expected, actual);
        }
Beispiel #2
0
        public void Test4()
        {
            int[] expected = new int[] { 1, 4 };
            int[] arr      = new int[] { -2, 1 };
            var   actual   = Class6.SquareOfEachNumber(arr);

            Assert.Equal(expected, actual);
        }
Beispiel #3
0
        public void Test1()
        {
            int[] expected = new int[] { 0, 1, 4, 9, 16, 25 };
            int[] arr      = new int[] { -4, -2, -1, 0, 3, 5 };
            var   actual   = Class6.SquareOfEachNumber(arr);

            Assert.Equal(expected, actual);
        }