public void Array_To_Heap(string caseName, long[] input, long[] expected, List <Swap> swaps) { var f0 = new Launcher(); f0.BuildHeap(input); input.ShouldBe(expected); var computedSwaps = f0.Swapollas; var computedSwapsCount = f0.Swapollas.Count; for (int i = 0; i < computedSwapsCount; i++) { computedSwaps[i].i.ShouldBe(swaps[i].i); computedSwaps[i].j.ShouldBe(swaps[i].j); } }