BAEL-2797 wrongly renamed Algorithms-1 package fixed

This commit is contained in:
anilkivilcim.eray 2019-04-04 16:13:27 +03:00
parent 2069c7f4a1
commit c94431ff3b
64 changed files with 67 additions and 85 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.hillclimbing.HillClimbing;
import com.baeldung.algorithms.hillclimbing.State;

View File

@ -1,4 +1,4 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.middleelementlookup.MiddleElementLookup;
import com.baeldung.algorithms.middleelementlookup.Node;

View File

@ -1,4 +1,4 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import com.baeldung.algorithms.automata.*;
import org.junit.Test;

View File

@ -1,9 +1,8 @@
package com.baeldung.math.binarysearch;
package com.baeldung.algorithms.binarysearch;
import java.util.Arrays;
import java.util.List;
import com.baeldung.algorithms.binarysearch.BinarySearch;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import static org.junit.jupiter.api.Assertions.assertEquals;

View File

@ -1,8 +1,7 @@
package com.baeldung.math.enumstatemachine;
package com.baeldung.algorithms.enumstatemachine;
import static org.junit.Assert.assertEquals;
import com.baeldung.algorithms.enumstatemachine.LeaveRequestState;
import org.junit.Test;
public class LeaveRequestStateUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.factorial;
package com.baeldung.algorithms.factorial;
import static org.assertj.core.api.Assertions.assertThat;

View File

@ -1,8 +1,7 @@
package com.baeldung.math.kthlargest;
package com.baeldung.algorithms.kthlargest;
import static org.assertj.core.api.Assertions.*;
import com.baeldung.algorithms.kthlargest.FindKthLargest;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mcts;
package com.baeldung.algorithms.mcts;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

View File

@ -1,7 +1,5 @@
package com.baeldung.math.minimax;
package com.baeldung.algorithms.minimax;
import com.baeldung.algorithms.minimax.MiniMax;
import com.baeldung.algorithms.minimax.Tree;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,6 +1,4 @@
package com.baeldung.math.multiswarm;
import com.baeldung.algorithms.multiswarm.FitnessFunction;
package com.baeldung.algorithms.multiswarm;
/**
* Specific fitness function implementation to solve the League of Legends

View File

@ -1,11 +1,10 @@
package com.baeldung.math.multiswarm;
package com.baeldung.algorithms.multiswarm;
import com.baeldung.algorithms.multiswarm.Multiswarm;
import org.junit.Assert;
import org.junit.Rule;
import org.junit.Test;
import com.baeldung.math.support.MayFailRule;
import com.baeldung.algorithms.support.MayFailRule;
/**
* Test for {@link Multiswarm}.

View File

@ -1,6 +1,5 @@
package com.baeldung.math.string;
package com.baeldung.algorithms.string;
import com.baeldung.algorithms.string.EnglishAlphabetLetters;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;

View File

@ -1,10 +1,9 @@
package com.baeldung.math.string;
package com.baeldung.algorithms.string;
import static org.junit.Assert.assertEquals;
import java.util.HashSet;
import java.util.Set;
import com.baeldung.algorithms.string.SubstringPalindrome;
import org.junit.Test;
public class SubstringPalindromeUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.support;
package com.baeldung.algorithms.support;
import org.junit.Rule;
import org.junit.rules.TestRule;

View File

@ -1,9 +1,7 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;
import static org.assertj.core.api.Assertions.assertThat;
import com.baeldung.algorithms.twopointertechnique.LinkedListFindMiddle;
import com.baeldung.algorithms.twopointertechnique.MyNode;
import org.junit.Test;
public class LinkedListFindMiddleUnitTest {

View File

@ -1,8 +1,7 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;
import static org.assertj.core.api.Assertions.assertThat;
import com.baeldung.algorithms.twopointertechnique.RotateArray;
import org.junit.Test;
public class RotateArrayUnitTest {

View File

@ -1,9 +1,8 @@
package com.baeldung.math.twopointertechnique;
package com.baeldung.algorithms.twopointertechnique;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import com.baeldung.algorithms.twopointertechnique.TwoSum;
import org.junit.Test;
public class TwoSumUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.bubblesort;
package com.baeldung.algorithms.bubblesort;
import java.util.stream.IntStream;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.heapsort;
package com.baeldung.algorithms.heapsort;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.insertionsort;
package com.baeldung.algorithms.insertionsort;
public class InsertionSort {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mergesort;
package com.baeldung.algorithms.mergesort;
public class MergeSort {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.quicksort;
package com.baeldung.algorithms.quicksort;
public class QuickSort {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.quicksort;
package com.baeldung.algorithms.quicksort;
public class ThreeWayQuickSort {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.bubblesort;
package com.baeldung.algorithms.bubblesort;
import static org.junit.jupiter.api.Assertions.assertArrayEquals;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.heapsort;
package com.baeldung.algorithms.heapsort;
import static org.assertj.core.api.Assertions.assertThat;

View File

@ -1,6 +1,6 @@
package com.baeldung.math.insertionsort;
package com.baeldung.algorithms.insertionsort;
import com.baeldung.math.insertionsort.InsertionSort;
import com.baeldung.algorithms.insertionsort.InsertionSort;
import org.junit.Test;
import static org.junit.Assert.assertArrayEquals;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mergesort;
package com.baeldung.algorithms.mergesort;
import org.junit.Assert;

View File

@ -1,6 +1,6 @@
package com.baeldung.math.quicksort;
package com.baeldung.algorithms.quicksort;
import com.baeldung.math.quicksort.QuickSort;
import com.baeldung.algorithms.quicksort.QuickSort;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.quicksort;
package com.baeldung.algorithms.quicksort;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math;
package com.baeldung.algorithms;
import static org.junit.Assert.assertEquals;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import java.util.Arrays;
import java.util.Iterator;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import org.paukov.combinatorics3.Generator;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import java.util.Arrays;
import java.util.Set;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import java.util.ArrayList;
import java.util.Arrays;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.distancebetweenpoints;
package com.baeldung.algorithms.distancebetweenpoints;
import java.awt.geom.Point2D;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.factorial;
package com.baeldung.algorithms.factorial;
import java.math.BigInteger;
import java.util.stream.LongStream;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linesintersection;
package com.baeldung.algorithms.linesintersection;
import java.awt.Point;
import java.util.Optional;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mercator;
package com.baeldung.algorithms.mercator;
class EllipticalMercator extends Mercator {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mercator;
package com.baeldung.algorithms.mercator;
abstract class Mercator {
final static double RADIUS_MAJOR = 6378137.0;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mercator;
package com.baeldung.algorithms.mercator;
public class SphericalMercator extends Mercator {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.percentage;
package com.baeldung.algorithms.percentage;
import java.util.Scanner;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.rectanglesoverlap;
package com.baeldung.algorithms.rectanglesoverlap;
public class Point {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.rectanglesoverlap;
package com.baeldung.algorithms.rectanglesoverlap;
public class Rectangle {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.roundedup;
package com.baeldung.algorithms.roundedup;
import java.util.Scanner;

View File

@ -1,12 +1,9 @@
package com.baeldung.math.combination;
package com.baeldung.algorithms.combination;
import static org.junit.jupiter.api.Assertions.assertEquals;
import java.util.List;
import com.baeldung.algorithms.combination.IterativeCombinationGenerator;
import com.baeldung.algorithms.combination.SelectionRecursiveCombinationGenerator;
import com.baeldung.algorithms.combination.SetRecursiveCombinationGenerator;
import org.junit.Test;
public class CombinationUnitTest {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.distancebetweenpoints;
package com.baeldung.algorithms.distancebetweenpoints;
import org.junit.Test;

View File

@ -1,10 +1,9 @@
package com.baeldung.math.factorial;
package com.baeldung.algorithms.factorial;
import static org.assertj.core.api.Assertions.assertThat;
import java.math.BigInteger;
import com.baeldung.algorithms.factorial.Factorial;
import org.junit.Before;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.linesintersection;
package com.baeldung.algorithms.linesintersection;
import java.awt.Point;
import java.util.Optional;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mercator;
package com.baeldung.algorithms.mercator;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.mercator;
package com.baeldung.algorithms.mercator;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.percentage;
package com.baeldung.algorithms.percentage;
import org.junit.Assert;
import org.junit.Test;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.rectanglesoverlap;
package com.baeldung.algorithms.rectanglesoverlap;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.roundedup;
package com.baeldung.algorithms.roundedup;
import static org.junit.Assert.assertEquals;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
import java.math.BigInteger;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
import java.util.stream.IntStream;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
import java.util.stream.IntStream;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
public interface PrimeChecker <T> {

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
import org.apache.commons.math3.primes.Primes;

View File

@ -1,4 +1,4 @@
package com.baeldung.math.primechecker;
package com.baeldung.algorithms.primechecker;
import org.junit.Test;