From 1653558f94497b7a6894cd9be11e0f3167676b78 Mon Sep 17 00:00:00 2001 From: Holt59 Date: Sat, 3 Mar 2018 22:17:02 +0100 Subject: [PATCH] Move BinaryHeap. --- .../org/insa/{utility => algo/datastructures}/BinaryHeap.java | 2 +- src/test/org/insa/utility/BinaryHeapTest.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) rename src/main/org/insa/{utility => algo/datastructures}/BinaryHeap.java (99%) diff --git a/src/main/org/insa/utility/BinaryHeap.java b/src/main/org/insa/algo/datastructures/BinaryHeap.java similarity index 99% rename from src/main/org/insa/utility/BinaryHeap.java rename to src/main/org/insa/algo/datastructures/BinaryHeap.java index 3e8a6ed..a987cd9 100644 --- a/src/main/org/insa/utility/BinaryHeap.java +++ b/src/main/org/insa/algo/datastructures/BinaryHeap.java @@ -7,7 +7,7 @@ // ******************ERRORS******************************** // Throws RuntimeException for findMin and deleteMin when empty -package org.insa.utility; +package org.insa.algo.datastructures; import java.util.* ; diff --git a/src/test/org/insa/utility/BinaryHeapTest.java b/src/test/org/insa/utility/BinaryHeapTest.java index a8e38a1..7afed4a 100644 --- a/src/test/org/insa/utility/BinaryHeapTest.java +++ b/src/test/org/insa/utility/BinaryHeapTest.java @@ -6,6 +6,7 @@ import static org.junit.Assert.assertTrue; import java.util.Arrays; import java.util.stream.IntStream; +import org.insa.algo.datastructures.BinaryHeap; import org.junit.Before; import org.junit.Test;