Add unit tests for Parallax2D

- Added test cases for setting and getting key properties of Parallax2D, including:
  - Scroll scale
  - Repeat size and times
  - Autoscroll
  - Scroll and screen offset
  - Limit begin and end
  - Follow viewport and ignore camera scroll flags
This commit is contained in:
Leon Stansfield 2024-08-15 22:57:52 +01:00 committed by Rémi Verschelde
parent 05d985496c
commit 3d13d90185
No known key found for this signature in database
GPG key ID: C3336907360768E1
2 changed files with 132 additions and 0 deletions

View file

@ -119,6 +119,7 @@
#include "tests/scene/test_node.h"
#include "tests/scene/test_node_2d.h"
#include "tests/scene/test_packed_scene.h"
#include "tests/scene/test_parallax_2d.h"
#include "tests/scene/test_path_2d.h"
#include "tests/scene/test_path_follow_2d.h"
#include "tests/scene/test_sprite_frames.h"