2022-07-12 12:56:57 +08:00
|
|
|
#include <SFML/Config.hpp>
|
|
|
|
|
|
|
|
#include <doctest/doctest.h>
|
|
|
|
|
2022-07-05 13:51:18 +08:00
|
|
|
TEST_CASE("[System] SFML/Config.hpp")
|
2022-07-12 12:56:57 +08:00
|
|
|
{
|
|
|
|
SUBCASE("Version macros")
|
|
|
|
{
|
|
|
|
CHECK(SFML_VERSION_MAJOR == EXPECTED_SFML_VERSION_MAJOR);
|
|
|
|
CHECK(SFML_VERSION_MINOR == EXPECTED_SFML_VERSION_MINOR);
|
|
|
|
CHECK(SFML_VERSION_PATCH == EXPECTED_SFML_VERSION_PATCH);
|
|
|
|
CHECK(SFML_VERSION_IS_RELEASE == EXPECTED_SFML_VERSION_IS_RELEASE);
|
|
|
|
}
|
|
|
|
}
|