From d635e9a2459f985194d2089bc9aa574ae0514365 Mon Sep 17 00:00:00 2001 From: Shivang Sarawagi Date: Sat, 2 Sep 2017 06:10:09 +0530 Subject: [PATCH] binary search folder created (#2541) * binary search folder created * Binary search test updated --- .../baeldung/algorithms/{ => binarysearch}/BinarySearch.java | 2 ++ .../java/algorithms/{ => binarysearch}/BinarySearchTest.java | 4 +++- 2 files changed, 5 insertions(+), 1 deletion(-) rename algorithms/src/main/java/com/baeldung/algorithms/{ => binarysearch}/BinarySearch.java (93%) rename algorithms/src/test/java/algorithms/{ => binarysearch}/BinarySearchTest.java (92%) diff --git a/algorithms/src/main/java/com/baeldung/algorithms/BinarySearch.java b/algorithms/src/main/java/com/baeldung/algorithms/binarysearch/BinarySearch.java similarity index 93% rename from algorithms/src/main/java/com/baeldung/algorithms/BinarySearch.java rename to algorithms/src/main/java/com/baeldung/algorithms/binarysearch/BinarySearch.java index 86522950ef..5b2ac49d4e 100644 --- a/algorithms/src/main/java/com/baeldung/algorithms/BinarySearch.java +++ b/algorithms/src/main/java/com/baeldung/algorithms/binarysearch/BinarySearch.java @@ -1,3 +1,5 @@ +package com.baeldung.algorithms.binarysearch; + import java.util.Arrays; import java.util.Collections; import java.util.List; diff --git a/algorithms/src/test/java/algorithms/BinarySearchTest.java b/algorithms/src/test/java/algorithms/binarysearch/BinarySearchTest.java similarity index 92% rename from algorithms/src/test/java/algorithms/BinarySearchTest.java rename to algorithms/src/test/java/algorithms/binarysearch/BinarySearchTest.java index 3611ec8e49..959f47a275 100644 --- a/algorithms/src/test/java/algorithms/BinarySearchTest.java +++ b/algorithms/src/test/java/algorithms/binarysearch/BinarySearchTest.java @@ -1,9 +1,11 @@ +package algorithms.binarysearch; + import java.util.Arrays; import java.util.List; import org.junit.Assert; import org.junit.Test; - +import com.baeldung.algorithms.binarysearch.BinarySearch; public class BinarySearchTest {