Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
rewertvsp committed Jan 28, 2025
1 parent e0f81bf commit 5bd24cc
Showing 1 changed file with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@

import java.io.IOException;
import java.nio.file.Path;
import java.util.HashMap;
import java.util.HashSet;
import java.util.Map;
import java.util.Set;
import java.util.*;

import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
Expand Down Expand Up @@ -46,7 +43,7 @@ void testLinkForPerson() {
String populationLocation = utils.getPackageInputDirectory() + "testPopulation.xml";
Population population = PopulationUtils.readPopulation(populationLocation);
FreightDemandGenerationUtils.preparePopulation(population, 1.0, 1.0, "changeNumberOfLocationsWithDemand");
HashMap<Id<Person>, HashMap<Double, String>> nearestLinkPerPerson = new HashMap<>();
HashMap<Id<Person>, TreeMap<Double, String>> nearestLinkPerPerson = new HashMap<>();
for (Person person : population.getPersons().values()) {
DemandReaderFromCSV.findLinksForPerson(scenario, nearestLinkPerPerson, person);
}
Expand Down

0 comments on commit 5bd24cc

Please sign in to comment.