File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ catch_discover_tests(test-csfml-window)
47
47
add_executable (test -csfml-graphics
48
48
Graphics/BlendMode.test.cpp
49
49
Graphics/Color.test.cpp
50
+ Graphics/CoordinateType.test.cpp
50
51
Graphics/Rect.test.cpp
51
52
)
52
53
target_link_libraries (test -csfml-graphics PRIVATE csfml-graphics Catch2::Catch2WithMain SFML::Graphics )
Original file line number Diff line number Diff line change
1
+ #include < CSFML/Graphics/CoordinateType.h>
2
+
3
+ #include < SFML/Graphics/CoordinateType.hpp>
4
+
5
+ #include < catch2/catch_test_macros.hpp>
6
+
7
+ TEST_CASE (" [Graphics] sfCoordinateType" )
8
+ {
9
+ STATIC_CHECK (sfCoordinateTypeNormalized == static_cast <int >(sf::CoordinateType::Normalized));
10
+ STATIC_CHECK (sfCoordinateTypePixels == static_cast <int >(sf::CoordinateType::Pixels));
11
+ }
You can’t perform that action at this time.
0 commit comments