Skip to content

Commit

Permalink
minor (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
maypink committed Jul 18, 2023
1 parent ee3b058 commit 9f8dfcd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/integration/test_structural_analysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@ def test_structural_analysis():
optimized_graph, _ = sa.optimize(graph=opt_graph, n_jobs=1,
max_iter=2)

assert abs(objective(optimized_graph).value) >= abs(objective(opt_graph).value) * 0.85
assert abs(objective(optimized_graph).value) >= abs(objective(opt_graph).value) * 0.7
2 changes: 1 addition & 1 deletion test/integration/test_structure_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def run_search(size: int, distance_function: Callable, timeout_min: int = 1) ->


@pytest.mark.parametrize('target_sizes, distance_function, indulgence',
[([10, 24], tree_edit_dist, 0.5),
[([10, 24], tree_edit_dist, 0.6),
([30], graph_size, 0.1)])
def test_simple_targets_are_found(target_sizes, distance_function, indulgence):
""" Checks if simple targets can be found within specified time. """
Expand Down

0 comments on commit 9f8dfcd

Please sign in to comment.