Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
linznedd committed Dec 12, 2024
1 parent 5374b4b commit b61e512
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/bofire/strategies/test_doe.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ def test_nchoosek_implemented():


def test_formulas_implemented():
domain = Domain.from_lists(
inputs=inputs,
outputs=[ContinuousOutput(key="y")],
)
expected_num_candidates = {
"linear": 7, # 1+a+b+c+3
"linear-and-quadratic": 10, # 1+a+b+c+a**2+b**2+c**2+3
Expand Down Expand Up @@ -368,3 +372,7 @@ def test_categorical_doe_iterative():
)

assert candidates.shape == (5, 3)


if __name__ == "__main__":
test_formulas_implemented()

0 comments on commit b61e512

Please sign in to comment.