#include #include TEST_CASE("[System] sf::Exception") { SECTION("Type traits") { STATIC_CHECK(std::is_copy_constructible_v); STATIC_CHECK(std::is_copy_assignable_v); STATIC_CHECK(std::is_nothrow_move_constructible_v); STATIC_CHECK(std::is_nothrow_move_assignable_v); STATIC_CHECK(std::is_base_of_v); } SECTION("Construction") { const sf::Exception exception("Oops"); CHECK(exception.what() == std::string("Oops")); } }