Skip to content

Commit

Permalink
Black passed...
Browse files Browse the repository at this point in the history
  • Loading branch information
Enrico Scala committed Oct 16, 2024
1 parent 3d2d150 commit df4b3b2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions unified_planning/test/test_pddl_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ def test_sailing_reader(self):

problem_2 = reader.parse_problem_string(domain_str, problem_str)
self.assertEqual(problem, problem_2)

def test_non_linear_car(self):
reader = PDDLReader()

Expand All @@ -434,9 +435,13 @@ def test_non_linear_car(self):

self.assertTrue(problem is not None)
self.assertEqual(len(problem.fluents), 8)
self.assertEqual(len(list([ele for ele in problem.actions if isinstance(ele,Process)])), 3)
self.assertEqual(len(list([ele for ele in problem.actions if isinstance(ele,Event)])),1)

self.assertEqual(
len(list([ele for ele in problem.actions if isinstance(ele, Process)])), 3
)
self.assertEqual(
len(list([ele for ele in problem.actions if isinstance(ele, Event)])), 1
)

def test_matchcellar_reader(self):
reader = PDDLReader()

Expand Down

0 comments on commit df4b3b2

Please sign in to comment.