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

Function test_valid_parameters

tests/stop/test_MaxRuntime.py:18–22  ·  view source on GitHub ↗

Does not raise for non-negative parameters.

(max_runtime: float)

Source from the content-addressed store, hash-verified

16
17@mark.parametrize("max_runtime", [0.001, 1, 10.1])
18def test_valid_parameters(max_runtime: float):
19 """
20 Does not raise for non-negative parameters.
21 """
22 MaxRuntime(max_runtime)
23
24
25@mark.parametrize("max_runtime", [0.01, 0.05, 0.10])

Callers

nothing calls this directly

Calls 1

MaxRuntimeClass · 0.90

Tested by

no test coverage detected