Skip to content

Commit

Permalink
Add False ignore attr to Appear cost test
Browse files Browse the repository at this point in the history
  • Loading branch information
cmalinmayor committed Jul 31, 2024
1 parent a9a9b72 commit 56c6636
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/test_costs.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ def test_ignore_attributes(arlo_graph):
for first_node in graph.nodes_by_frame(0):
graph.nodes[first_node]["ignore_appear_cost"] = True

for second_node in graph.nodes_by_frame(1):
graph.nodes[second_node]["ignore_appear_cost"] = False

solver = motile.Solver(graph)
solver.add_cost(NodeSelection(weight=-1.0, attribute="score", constant=-100.0))
solver.add_cost(
Expand Down

0 comments on commit 56c6636

Please sign in to comment.