Skip to content

Commit

Permalink
Pass the test.
Browse files Browse the repository at this point in the history
  • Loading branch information
fire committed Dec 23, 2023
1 parent 57b39af commit 820323d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .gut_editor_config.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,5 +41,5 @@
"show_help": false,
"suffix": ".gd",
"tests": [],
"unit_test_name": null
"unit_test_name": "test_isekai_anime"
}
2 changes: 1 addition & 1 deletion goal_task_tests/test_simple_nine_squares.gd
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ func test_isekai_anime():
var expected = [["walk", "Mia", "home_Mia", "cinema", 12], ["walk", "Mia", "cinema", "home_Mia", 24], ["walk", "Mia", "home_Mia", "park", 29], ["walk", "Mia", "park", "restaurant", 34], ["walk", "Mia", "restaurant", "school", 40], ["walk", "Mia", "school", "office", 47], ["walk", "Mia", "office", "gym", 55], ["walk", "Mia", "gym", "library", 64], ["walk", "Mia", "library", "hospital", 74], ["walk", "Mia", "hospital", "beach", 85], ["walk", "Mia", "beach", "supermarket", 97]]
var result = planner.find_plan(state0.duplicate(true), [goal1])
var previous_time = -1
assert_ne(result, false)
assert_true(not result is bool)
if not result is bool:
for action in result:
var current_time = action[4]
Expand Down

0 comments on commit 820323d

Please sign in to comment.