From a3638306ef7277f2a4bf6a0b42b8a39c1ad07557 Mon Sep 17 00:00:00 2001 From: Khlopkova Olga Date: Fri, 5 Feb 2021 17:56:27 +0300 Subject: Changed default StopLocationType to StopOrPlatform --- include/just_gtfs/just_gtfs.h | 2 +- tests/unit_tests.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/just_gtfs/just_gtfs.h b/include/just_gtfs/just_gtfs.h index 60dca4c..1f9f0a6 100644 --- a/include/just_gtfs/just_gtfs.h +++ b/include/just_gtfs/just_gtfs.h @@ -891,7 +891,7 @@ struct Stop Text stop_code; Text stop_desc; Text stop_url; - StopLocationType location_type = StopLocationType::GenericNode; + StopLocationType location_type = StopLocationType::StopOrPlatform; Text stop_timezone; Text wheelchair_boarding; Id level_id; diff --git a/tests/unit_tests.cpp b/tests/unit_tests.cpp index aba8814..249f62a 100644 --- a/tests/unit_tests.cpp +++ b/tests/unit_tests.cpp @@ -403,7 +403,7 @@ TEST_CASE("Stops") CHECK_EQ(stops[0].stop_id, "FUR_CREEK_RES"); CHECK(stops[0].stop_desc.empty()); CHECK_EQ(stops[0].stop_name, "Furnace Creek Resort (Demo)"); - CHECK_EQ(stops[0].location_type, StopLocationType::GenericNode); + CHECK_EQ(stops[0].location_type, StopLocationType::StopOrPlatform); CHECK(stops[0].zone_id.empty()); auto const & stop = feed.get_stop("FUR_CREEK_RES"); -- cgit v1.2.3