Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
rewertvsp committed Mar 26, 2024
1 parent 47af8f5 commit 250a995
Showing 1 changed file with 5 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,8 @@ public class RunGenerateSmallScaleCommercialTrafficTest {
@Test
void testMainRunAndResults() {
String pathToConfig = utils.getPackageInputDirectory() + "config_demand.xml";
Path pathToInvestigationAreaData = Path.of(utils.getPackageInputDirectory()).resolve("investigationAreaData.csv");
Path pathToExistingDataDistributionToZones = Path.of(utils.getPackageInputDirectory()).resolve("dataDistributionPerZone.csv");
Path pathToDataDistributionToZones = Path.of(utils.getPackageInputDirectory()).resolve("dataDistributionPerZone.csv");
String pathToCommercialFacilities = "commercialFacilities.xml.gz";
String output = utils.getOutputDirectory();
String sample = "0.1";
String jspritIterations = "2";
Expand All @@ -81,24 +81,18 @@ void testMainRunAndResults() {
String shapeCRS = "EPSG:4326";
String resultPopulation = "testPopulation.xml.gz";


new GenerateSmallScaleCommercialTrafficDemand().execute(
pathToConfig,
"--pathToInvestigationAreaData", pathToInvestigationAreaData.toString(),
"--pathToExistingDataDistributionToZones", pathToExistingDataDistributionToZones.toString(),
"--pathToDataDistributionToZones", pathToDataDistributionToZones.toString(),
"--pathToCommercialFacilities", pathToCommercialFacilities,
"--sample", sample,
"--jspritIterations", jspritIterations,
"--creationOption", creationOption,
"--landuseConfiguration", landuseConfiguration,
"--smallScaleCommercialTrafficType", smallScaleCommercialTrafficType,
"--includeExistingModels",
"--regionsShapeFileName", regionsShapeFileName,
"--regionsShapeRegionColumn", regionsShapeRegionColumn,
"--zoneShapeFileName", zoneShapeFileName,
"--zoneShapeFileNameColumn", zoneShapeFileNameColumn,
"--buildingsShapeFileName", buildingsShapeFileName,
"--shapeFileBuildingTypeColumn", shapeFileBuildingTypeColumn,
"--landuseShapeFileName", landuseShapeFileName,
"--shapeFileLanduseTypeColumn", shapeFileLanduseTypeColumn,
"--shapeCRS", shapeCRS,
"--nameOutputPopulation", resultPopulation,
"--pathOutput", output);
Expand Down

0 comments on commit 250a995

Please sign in to comment.