Skip to content

Commit

Permalink
LImit synthesis tests
Browse files Browse the repository at this point in the history
  • Loading branch information
munrojm committed Feb 25, 2022
1 parent d4bce7b commit eaae661
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/test_synthesis.py
Expand Up @@ -85,6 +85,7 @@ def test_filters_temperature_range(rester):
docs: List[SynthesisRecipe] = search_method(
condition_heating_temperature_min=700,
condition_heating_temperature_max=1000,
num_chunks=5,
)
for doc in docs:
for op in doc.operations:
Expand All @@ -105,7 +106,7 @@ def test_filters_time_range(rester):

if search_method is not None:
docs: List[SynthesisRecipe] = search_method(
condition_heating_time_min=7, condition_heating_time_max=11,
condition_heating_time_min=7, condition_heating_time_max=11, num_chunks=5
)
for doc in docs:
for op in doc.operations:
Expand All @@ -125,7 +126,7 @@ def test_filters_atmosphere(rester):

if search_method is not None:
docs: List[SynthesisRecipe] = search_method(
condition_heating_atmosphere=["air", "O2"],
condition_heating_atmosphere=["air", "O2"], num_chunks=5,
)
for doc in docs:
found = False
Expand All @@ -147,7 +148,7 @@ def test_filters_mixing_device(rester):

if search_method is not None:
docs: List[SynthesisRecipe] = search_method(
condition_mixing_device=["zirconia", "Al2O3"],
condition_mixing_device=["zirconia", "Al2O3"], num_chunks=5,
)
for doc in docs:
found = False
Expand All @@ -168,7 +169,7 @@ def test_filters_mixing_media(rester):

if search_method is not None:
docs: List[SynthesisRecipe] = search_method(
condition_mixing_media=["water", "alcohol"],
condition_mixing_media=["water", "alcohol"], num_chunks=5,
)
for doc in docs:
found = False
Expand Down

0 comments on commit eaae661

Please sign in to comment.