Skip to content

Commit

Permalink
Remove duplicate test.
Browse files Browse the repository at this point in the history
  • Loading branch information
VillePihlava committed Dec 16, 2024
1 parent 2e048f9 commit c90c3ec
Showing 1 changed file with 0 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -238,39 +238,6 @@ public void testMultipleRequestsWithPatterns() {
graph.hasStreets = true;
var timetableRepository = model.timetableRepository();

new DirectTransferGenerator(
graph,
timetableRepository,
DataImportIssueStore.NOOP,
MAX_TRANSFER_DURATION,
transferRequests
)
.buildGraph();

assertTransfers(
timetableRepository.getAllPathTransfers(),
tr(S0, 100, List.of(V0, V11), S11),
tr(S0, 100, List.of(V0, V21), S21),
tr(S11, 100, List.of(V11, V21), S21),
tr(S11, 110, List.of(V11, V22), S22)
);
}

@Test
public void testPathTransfersWithModesForMultipleRequestsWithPatterns() {
var reqWalk = new RouteRequest();
reqWalk.journey().transfer().setMode(StreetMode.WALK);

var reqBike = new RouteRequest();
reqBike.journey().transfer().setMode(StreetMode.BIKE);

var transferRequests = List.of(reqWalk, reqBike);

TestOtpModel model = model(true);
var graph = model.graph();
graph.hasStreets = true;
var timetableRepository = model.timetableRepository();

new DirectTransferGenerator(
graph,
timetableRepository,
Expand Down

0 comments on commit c90c3ec

Please sign in to comment.