SFML/test/Graphics
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
..
BlendMode.test.cpp Make BlendMode::Factor and BlendMode::Equation scoped enumerations 2024-01-27 15:31:30 -07:00
CircleShape.test.cpp Add sf::Shape::getGeometricCenter() 2023-05-15 16:13:39 -06:00
Color.test.cpp Pass sf::Colors by value 2024-07-31 09:25:21 -06:00
ConvexShape.test.cpp Relax criteria for geometric center test 2023-07-08 17:00:58 -06:00
CoordinateType.test.cpp Add texture coordinate type to sf::RenderStates 2024-01-25 23:45:00 -07:00
Drawable.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
Font.test.cpp Throw custom sf::Exception type 2024-08-25 12:17:49 -06:00
Glsl.test.cpp Use explicit conversion operator instead of explicit constructor 2024-10-02 00:15:54 +02:00
Glyph.test.cpp Test constexpr construction of aggregates 2024-07-27 17:27:39 -06:00
Image.test.cpp Throw custom sf::Exception type 2024-08-25 12:17:49 -06:00
invalid_shader.vert Remove default empty state of sf::FileInputStream 2024-06-11 07:31:09 -05:00
Rect.test.cpp Use explicit conversion operator instead of explicit constructor 2024-10-02 00:15:54 +02:00
RectangleShape.test.cpp Add sf::Shape::getGeometricCenter() 2023-05-15 16:13:39 -06:00
Render.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
RenderStates.test.cpp Added support for stencil testing. 2024-01-29 08:13:14 -07:00
RenderTarget.test.cpp Pass sf::Vector2<T>s by value 2024-07-19 10:33:00 -06:00
RenderTexture.test.cpp Change spelling of anti-aliasing 2024-09-09 18:37:00 -06:00
RenderWindow.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
sfml-logo-big.bmp Add tests for sf::Image::loadFromFile 2023-08-04 19:26:30 -06:00
sfml-logo-big.gif Add tests for sf::Image::loadFromFile 2023-08-04 19:26:30 -06:00
sfml-logo-big.jpg Add tests for sf::Image::loadFromFile 2023-08-04 19:26:30 -06:00
sfml-logo-big.png Add tests for sf::Image::loadFromFile 2023-08-04 19:26:30 -06:00
sfml-logo-big.psd Add tests for sf::Image::loadFromFile 2023-08-04 19:26:30 -06:00
shader.frag Add tests for sf::Shader::loadFromFile 2023-08-05 14:37:47 -06:00
shader.geom Add tests for sf::Shader::loadFromFile 2023-08-05 14:37:47 -06:00
Shader.test.cpp Throw custom sf::Exception type 2024-08-25 12:17:49 -06:00
shader.vert Add tests for sf::Shader::loadFromFile 2023-08-05 14:37:47 -06:00
Shape.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
Sprite.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
StencilMode.test.cpp Added support for stencil testing. 2024-01-29 08:13:14 -07:00
Text.test.cpp Replace factory functions with throwing constructors 2024-08-08 09:19:32 -06:00
Texture.test.cpp Throw custom sf::Exception type 2024-08-25 12:17:49 -06:00
Transform.test.cpp Switch to Catch2 2023-05-13 12:38:11 -06:00
Transformable.test.cpp Store angles internally as radians 2024-05-14 13:07:40 -06:00
tuffy.ttf Add tests for sf::Font 2023-07-07 13:21:56 -06:00
Vertex.test.cpp Turn 'sf::Vertex' into an aggregate 'struct' 2024-02-19 16:44:06 +00:00
VertexArray.test.cpp Turn 'sf::Vertex' into an aggregate 'struct' 2024-02-19 16:44:06 +00:00
VertexBuffer.test.cpp Make VertexBuffer::Usage a scoped enumeration 2024-01-27 15:31:30 -07:00
View.test.cpp Remove sf::View::reset in favor of assignment operations 2024-05-26 10:23:52 -06:00