From eaec6b8046d9cd7793d2526e6eb77e1aa086c2ea Mon Sep 17 00:00:00 2001 From: "niehues.mark@gmail.com" <niehues.mark@gmail.com> Date: Thu, 7 May 2020 14:21:48 +0200 Subject: [PATCH] before debug, tests running --- evaluation/configs/example_init_query.yaml | 2 +- evaluation/configs/example_rank.yaml | 2 +- tests/gasstation/test_transformations.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/evaluation/configs/example_init_query.yaml b/evaluation/configs/example_init_query.yaml index cb7f2ce..b8b65a4 100644 --- a/evaluation/configs/example_init_query.yaml +++ b/evaluation/configs/example_init_query.yaml @@ -5,7 +5,7 @@ type: query charging_stations: charging_stations.json maps: - medium_nurnberg.osm -queries_per_setup: 10 +queries_per_setup: 100 setups: - mu_s: 300 # Start and Target Soc mu_t: 0 diff --git a/evaluation/configs/example_rank.yaml b/evaluation/configs/example_rank.yaml index 4a47df8..34f99df 100644 --- a/evaluation/configs/example_rank.yaml +++ b/evaluation/configs/example_rank.yaml @@ -4,7 +4,7 @@ description: > type: rank charging_stations: charging_stations.json maps: - - medium_nurnberg.osm + - oberpfalz-latest.osm queries_per_rank: 20 ranks: [2, 4, 6, 8, 10, 12, 14] setups: diff --git a/tests/gasstation/test_transformations.py b/tests/gasstation/test_transformations.py index 945e82a..9237176 100644 --- a/tests/gasstation/test_transformations.py +++ b/tests/gasstation/test_transformations.py @@ -223,7 +223,7 @@ class TestStateGraph(MinimalExamples): G.add_node(1, **{CHARGING_COEFFICIENT_KEY: c_1}) H: nx.Graph = state_graph(G, self.U) - assert len(H.nodes) == 0 + assert len(H.nodes) == 2 assert len(H.edges) == 0 -- GitLab