public void GoldmineMatrixPath_Test() { var goldmineMatrixPath = new GoldmineMatrixPath(); var arr = MatrixTestsGenerator.GetZeroedArray(5); // we have a 5x5 array of 0s // assume start is arr[1][0] and end is [4][2] var start = new MatrixPoint(1, 0); var end = new MatrixPoint(4, 2); var shortedPathLength = goldmineMatrixPath.GetShortestPath(arr, start, end); MatrixUtilities.Print(arr); }