Skip to content

Commit 378a745

Browse files
sampreets3actions-user
authored andcommitted
Apply formatting changes
1 parent 3c409ca commit 378a745

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

tests/test_search.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010

1111
apla = AutomatedPlanner("data/domain.pddl", "data/problem.pddl")
1212

13+
1314
def test_searchDFS():
1415
dfs = DepthFirstSearch(apla)
1516
_, ct = dfs.search()
@@ -21,14 +22,16 @@ def test_searchBFS():
2122
_, ct = bfs.search()
2223
assert ct != 0
2324

25+
2426
def test_searchDijkstra():
2527
dijk = DijkstraBestFirstSearch(apla)
26-
res = dijk.search() # None, computation_time, opened_nodes(in this order)
27-
assert(res[1] != 0)
28-
assert(res[-1] >= 1)
28+
res = dijk.search() # None, computation_time, opened_nodes(in this order)
29+
assert res[1] != 0
30+
assert res[-1] >= 1
31+
2932

3033
def test_searchAStar():
3134
astar = AStarBestFirstSearch(apla, goal_count_heuristic)
32-
res = astar.search() # None, computation_time, opened_nodes(in this order)
33-
assert(res[1] != 0)
34-
assert(res[-1] >= 1)
35+
res = astar.search() # None, computation_time, opened_nodes(in this order)
36+
assert res[1] != 0
37+
assert res[-1] >= 1

0 commit comments

Comments
 (0)