#include #include #include TEST_CASE("[Window] sfSensor") { SECTION("sfSensorType") { STATIC_CHECK(sfSensorAccelerometer == static_cast(sf::Sensor::Type::Accelerometer)); STATIC_CHECK(sfSensorGyroscope == static_cast(sf::Sensor::Type::Gyroscope)); STATIC_CHECK(sfSensorMagnetometer == static_cast(sf::Sensor::Type::Magnetometer)); STATIC_CHECK(sfSensorGravity == static_cast(sf::Sensor::Type::Gravity)); STATIC_CHECK(sfSensorUserAcceleration == static_cast(sf::Sensor::Type::UserAcceleration)); STATIC_CHECK(sfSensorOrientation == static_cast(sf::Sensor::Type::Orientation)); STATIC_CHECK(sfSensorCount == sf::Sensor::Count); } }