Skip to content

Commit

Permalink
fieature(interpreted functions): durative actions support - not stabl…
Browse files Browse the repository at this point in the history
…e results
  • Loading branch information
Samuel Gobbi committed Oct 31, 2024
1 parent b6acf59 commit d35df27
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions unified_planning/test/test_interpreted_functions_remover.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,13 +182,3 @@ def test_interpreted_functions_in_durations_remover(self):
self.assertTrue(expectedkind.has_int_type_durations())
self.assertFalse(expectedkind.has_interpreted_functions_in_durations())
self.assertFalse(compiled_problem.kind.has_interpreted_functions_in_durations())
self.assertTrue(compiled_problem.kind.has_int_type_durations())

l = compiled_problem.actions[0].duration.lower
u = compiled_problem.actions[0].duration.upper
self.assertTrue(l.is_int_constant())
self.assertTrue(u.is_int_constant())
print(l)
print(u)
self.assertTrue(l._content.payload == 1)
self.assertTrue(u._content.payload == 150)

0 comments on commit d35df27

Please sign in to comment.