public void Test(int[][] array, int[] result) { var text = $"{Int2dToString(array)}\nshould be sorted to\n[{string.Join(",", result)}]\n"; Console.WriteLine(text); var actual = SnailSolution.Test(array); Assert.AreEqual(result, actual); }