Skip to content

Commit

Permalink
fixed unit test (to disable unlimited limits before testing limits)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lazy-Rabbit-2001 committed Jan 12, 2025
1 parent 908a392 commit 514f986
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/scene/test_camera_2d.h
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ TEST_CASE("[SceneTree][Camera2D] Getters and setters") {
}

SUBCASE("Limit") {
test_camera->set_limit_unlimited(false);
constexpr int limit_left = 100;
constexpr int limit_top = 100;
constexpr int limit_right = 100;
Expand Down

0 comments on commit 514f986

Please sign in to comment.