Skip to content

Commit

Permalink
additional test
Browse files Browse the repository at this point in the history
  • Loading branch information
bpkroth committed Aug 20, 2024
1 parent 5ed49bf commit 2ff1678
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,7 @@ def _cmp_tunable_hyperparameter_numerical(tunable: Tunable, space: Configuration
assert (param.lower, param.upper) == tuple(tunable.range)
if tunable.in_range(tunable.value):
assert param.default_value == tunable.value
assert (param.meta or {}).get(QUANTIZATION_BINS_META_KEY) == tunable.quantization_bins


def test_tunable_to_configspace_categorical(tunable_categorical: Tunable) -> None:
Expand Down

0 comments on commit 2ff1678

Please sign in to comment.