Beispiel #1
0
        public void CopyTest1()
        {
            int[][] expected = { new int[] { 8, 2, 3 }, new int[] { 9, 7, 3 }, new int[] { 8, 2, 4 } };
            int[][] actual   = MagicSquare.Copy(expected);

            Assert.Equal(expected, actual);
        }
Beispiel #2
0
 public void MagicSquareTest1()
 {
     int[][]    test   = { new int[] { 8, 2, 3 }, new int[] { 9, 7, 3 }, new int[] { 8, 2, 4 } };
     List <int> actual = MagicSquare.TotalsReduced(test);
 }