mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 13:06:13 +01:00
Add tests for sfCoordinateType
This commit is contained in:
1 parent
bb8a261bb8
commit
ab1a1a2299
2 files changed
+12
No files matched your search
@@ -0,0 +1,11 @@
|
||||
#include <CSFML/Graphics/CoordinateType.h>
|
||||
|
||||
#include <SFML/Graphics/CoordinateType.hpp>
|
||||
|
||||
#include <catch2/catch_test_macros.hpp>
|
||||
|
||||
TEST_CASE("[Graphics] sfCoordinateType")
|
||||
{
|
||||
STATIC_CHECK(sfCoordinateTypeNormalized == static_cast<int>(sf::CoordinateType::Normalized));
|
||||
STATIC_CHECK(sfCoordinateTypePixels == static_cast<int>(sf::CoordinateType::Pixels));
|
||||
}
|
||||
Reference in new issue
Block a user