Skip to content

Commit

Permalink
Remove overly specific tests
Browse files Browse the repository at this point in the history
  • Loading branch information
michaz committed Jan 20, 2020
1 parent 8ab9a66 commit 0af725f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,6 @@ public void randomGraph() {
run(seed);
}

@Test
public void fail7() {
run(337586249813919L);
}

private void run(long seed) {
Directory dir = new RAMDirectory();
CarFlagEncoder encoder = new CarFlagEncoder(5, 5, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public class RandomizedRoutingTest {
private GraphHopperStorage graph;
private List<CHProfile> chProfiles;
private CHGraph chGraph;
private CarFlagEncoder encoder;
private FlagEncoder encoder;
private Weighting weighting;
private EncodingManager encodingManager;
private PrepareContractionHierarchies pch;
Expand Down Expand Up @@ -313,41 +313,6 @@ private void runWithQueryGraph(long seed) {
}
}

@Test
public void fail1() {
run(39457616822163L);
}

@Test
public void fail2() {
run(39386680060285L);
}

@Test
public void fail3() {
runWithQueryGraph(39361165106748L);
}

@Test
public void fail4() {
run(39316239491387L);
}

@Test
public void fail5() {
run(39449878563251L);
}

@Test
public void fail6() {
run(39315090735050L);
}

@Test
public void fail7() { // fails with CarFlagEncoder
run(337586249813919L);
}

private List<GHPoint> getRandomPoints(int numPoints, LocationIndex index, Random rnd) {
List<GHPoint> points = new ArrayList<>(numPoints);
BBox bounds = graph.getBounds();
Expand Down

0 comments on commit 0af725f

Please sign in to comment.