SFML/test/Audio/SoundFileWriter.test.cpp
Chris Thrasher 95a23c2d05 Add type trait tests for sf::SoundFileWriter
Other Audio module types get this same treatment so we ought to
also have a .test.cpp for this header.
2024-04-16 17:05:42 -06:00

11 lines
472 B
C++

#include <SFML/Audio/SoundFileWriter.hpp>
#include <type_traits>
static_assert(!std::is_constructible_v<sf::SoundFileWriter>);
static_assert(!std::is_copy_constructible_v<sf::SoundFileWriter>);
static_assert(std::is_copy_assignable_v<sf::SoundFileWriter>);
static_assert(!std::is_nothrow_move_constructible_v<sf::SoundFileWriter>);
static_assert(std::is_nothrow_move_assignable_v<sf::SoundFileWriter>);
static_assert(std::has_virtual_destructor_v<sf::SoundFileWriter>);