Chris Thrasher
355df11d09
Harden copyability tests to test for triviality
2025-01-30 17:33:28 -07:00
ZXShady
de9286c11f
Use explicit conversion operator instead of explicit constructor
...
I also added a type trait test to check whether the conversion operator is marked explicit.
this change has the advantage of being clearer imo as it is a conversion operator for conersions not a constructor.
and also it allows users to take the address of convesion operator which I don't know if someone might find that useful.
2024-10-02 00:15:54 +02:00
kimci86
65c0a8183c
Simplify Rect unit tests
2024-06-16 02:48:53 +02:00
kimci86
c371bc6816
Remove Rect getPosition and getSize methods
2024-06-16 02:48:53 +02:00
kimci86
7e5ed78219
Replace Rect members left, top, width, height by position and size
2024-06-16 02:48:53 +02:00
Chris Thrasher
9cb4a68c9a
Test class templates with multiple template types
2023-11-15 12:07:31 -07:00
Chris Thrasher
d3a79e6282
Add sf::Rect<T>::getCenter()
2023-11-15 09:30:01 -07:00
Chris Thrasher
f6dfc04938
Switch to Catch2
2023-05-13 12:38:11 -06:00
Chris Thrasher
fb1cfdc48d
Add misc-const-correctness
clang-tidy check
2023-05-04 16:22:03 -06:00
vittorioromeo
cbfa9cbb65
Reorder includes hierarchically
2023-04-25 17:25:33 +02:00
Jonny Paton
e4bffe5b84
Rename test files to be unique
2022-10-23 16:39:12 +02:00