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

Function test_solve_params_from_file_defaults

tests/test_solve.py:57–63  ·  view source on GitHub ↗

Tests that if the TOML file does not contain all solver parameters, it defaults to the constructor's default values.

()

Source from the content-addressed store, hash-verified

55
56
57def test_solve_params_from_file_defaults():
58 """
59 Tests that if the TOML file does not contain all solver parameters,
60 it defaults to the constructor's default values.
61 """
62 params = SolveParams.from_file(DATA_DIR / "empty_config.toml")
63 assert_equal(params, SolveParams())
64
65
66def test_solve_same_seed(ok_small):

Callers

nothing calls this directly

Calls 2

SolveParamsClass · 0.90
from_fileMethod · 0.80

Tested by

no test coverage detected