Chris Thrasher
4047909725
Remove unnecessary includes
2022-06-27 00:22:16 +02:00
Chris Thrasher
a57640c2c8
Require stringification for all tested types
...
This ensures that if a printing function is not provided, compilation
fails. This prevents problems where a header is accidentally removed
that was previously providing an operator<< overload or prevents
new tests from being added without print support for all directly
tested types.
2022-06-27 00:22:16 +02:00
Chris Thrasher
3925139f4d
Improve test coverage of sf::Rect
2022-06-26 15:47:30 +02:00
Chris Thrasher
b009151e89
Improve test coverage of sf::Color
2022-06-26 15:47:30 +02:00
Chris Thrasher
0812054e02
Remove trailing whitespace
2022-06-25 21:32:55 +02:00
Vittorio Romeo
6cd07a043f
'sf::Image::copy' returns a 'bool' to signal success/failure
2022-06-21 16:40:22 +02:00
Bambo-Borris
8b3723a52b
Add tests for sf::Image
2022-06-21 15:14:27 +02:00
Chris Thrasher
6a59ab0051
Add tests for sf::ConvexShape
2022-06-09 10:05:29 +02:00
Chris Thrasher
3203c3927f
Add tests for sf::RenderStates
2022-06-07 08:25:52 +02:00
Chris Thrasher
58e93ddd19
Add tests for sf::View
2022-06-01 08:09:29 +02:00
Chris Thrasher
60131b19ef
Add tests for sf::Glyph
2022-06-01 08:09:29 +02:00
Chris Thrasher
7dd001e5c0
Simplify approximate comparisons of SFML types
...
Co-authored-by: kimci86 <kimci86@hotmail.fr>
2022-05-25 13:36:12 +02:00
Chris Thrasher
1e6dc82304
Add tests for sf::CircleShape
2022-05-17 20:30:17 +02:00
Chris Thrasher
2a5ce3c989
Apply compiler warnings to tests
2022-05-02 08:39:02 +02:00
Chris Thrasher
9010e7ba38
Add tests for sf::RectangleShape
2022-04-12 08:15:44 +02:00
Chris Thrasher
9cbd9c5976
Add tests for sf::Shape
2022-04-08 16:46:51 +02:00
Chris Thrasher
5c9b571c70
Add tests for sf::VertexArray
2022-03-16 09:56:29 +01:00
Chris Thrasher
abe420897d
Add tests for sf::Transformable
2022-02-17 20:48:30 +00:00
Vittorio Romeo
dbeef66693
Turn 'sf::Transform' into a 'constexpr' class
2022-02-10 23:51:47 +00:00
Vittorio Romeo
0e419543f2
Make 'Color' constants 'constexpr' and add tests
2022-02-08 23:32:12 +00:00
Chris Thrasher
28f273b9c9
Add sf::Angle
...
Similar to sf::Time, sf::Angle provides a typesafe API for working
with angles and provides named functions for converting to and from
degrees and radians.
2022-02-08 22:52:37 +00:00
Chris Thrasher
7c80f302e4
Use std::optional to remove extra sf::Rect::intersects overload
2022-01-27 02:55:11 +00:00
Chris Thrasher
7cdb728e52
Add tests for sf::BlendMode
2022-01-20 07:39:19 +01:00
Chris Thrasher
b717a68fba
Add tests for sf::Transform
2022-01-08 15:06:12 +01:00
Chris Thrasher
3d01efb80a
Use operator<< for printing during test failure
2022-01-07 20:04:54 +01:00
Chris Thrasher
79c2aadbcc
Remove redundant 4-param sf::Rect<T> constructor
2022-01-06 20:04:03 +01:00
Chris Thrasher
6c816aba44
Add tests for sf::Vertex
2022-01-06 20:02:09 +01:00
Vittorio Romeo
50d28e3879
Add tests for 'sf::Color'
2021-12-27 17:35:06 +01:00
Chris Thrasher
14fff20eb8
Remove redundant API taking x,y pair instead of sf::Vector
2021-12-26 17:13:18 +01:00
Vittorio Romeo
29983aa8d4
Replace Catch with Doctest
2021-12-24 15:06:32 +01:00
Chris Thrasher
ade9843dd8
Collapse test/src directory
2021-12-24 11:56:58 +01:00