mirror of
https://github.com/SFML/SFML.git
synced 2024-12-05 09:41:05 +08:00
15 lines
416 B
C++
15 lines
416 B
C++
#include <SFML/Config.hpp>
|
|
|
|
#include <doctest/doctest.h>
|
|
|
|
TEST_CASE("[System] SFML/Config.hpp")
|
|
{
|
|
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);
|
|
}
|
|
}
|