diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-08-10 00:07:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-10 00:07:32 +0200 |
commit | 317ced8204d80367c445963fc989de320c6f9a68 (patch) | |
tree | de40ce8699870306e155263255e3997a979268eb /tests/core | |
parent | 9da08cecbde2c7ec7522f793e934f7dfd9dc35ff (diff) | |
parent | 40a1d6d100d8a1823d3a939a7ad7350b36bcddbd (diff) |
Merge pull request #64108 from antonWetzel/csharp-update
Diffstat (limited to 'tests/core')
-rw-r--r-- | tests/core/math/test_vector4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/core/math/test_vector4.h b/tests/core/math/test_vector4.h index 4b8759c0ca..ccf991401b 100644 --- a/tests/core/math/test_vector4.h +++ b/tests/core/math/test_vector4.h @@ -98,6 +98,9 @@ TEST_CASE("[Vector4] Length methods") { CHECK_MESSAGE( Math::is_equal_approx(vector1.distance_to(vector2), (real_t)54.772255750517), "Vector4 distance_to should work as expected."); + CHECK_MESSAGE( + Math::is_equal_approx(vector1.distance_squared_to(vector2), 3000), + "Vector4 distance_squared_to should work as expected."); } TEST_CASE("[Vector4] Limiting methods") { |