public void PatternFinderHashCalculationTest() { Hashtable table = new Hashtable(); int[][] arr1 = new int[2][]; arr1[0] = new int[] { 1, 2 }; arr1[1] = new int[] { 1, 2 }; int[][] arr2 = new int[2][]; arr2[0] = new int[] { 1, 2 }; arr2[1] = new int[] { 1, 2 }; int[][] arr3 = new int[2][]; arr3[0] = new int[] { 2, 2 }; arr3[1] = new int[] { 1, 2 }; Assert.That(PatternFinder.AreArraysTheSame(arr1, arr2)); }