MCPcopy Create free account
hub / github.com/PyVRP/PyVRP / test_plot_route_schedule

Function test_plot_route_schedule

tests/plotting/test_plotting.py:125–131  ·  view source on GitHub ↗

Compares plots generated by ``plot_route_schedule``.

()

Source from the content-addressed store, hash-verified

123
124@img_comp(["plot_route_schedule"], **IMG_KWARGS)
125def test_plot_route_schedule():
126 """
127 Compares plots generated by ``plot_route_schedule``.
128 """
129 data = read("data/RC208.vrp", round_func="trunc")
130 sol = read_solution("data/RC208.sol", data)
131 plotting.plot_route_schedule(data, sol.routes()[0])
132
133
134def test_plot_demands_raises_for_out_of_bounds_load_dimension():

Callers

nothing calls this directly

Calls 2

readFunction · 0.90
read_solutionFunction · 0.90

Tested by

no test coverage detected