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;