|
| 1 | +#include <CSFML/Audio/SoundChannel.h> |
| 2 | + |
| 3 | +#include <SFML/Audio/SoundChannel.hpp> |
| 4 | + |
| 5 | +#include <catch2/catch_test_macros.hpp> |
| 6 | + |
| 7 | +TEST_CASE("[Audio] sfSoundChannel") |
| 8 | +{ |
| 9 | + STATIC_CHECK(sfSoundChannelUnspecified == static_cast<int>(sf::SoundChannel::Unspecified)); |
| 10 | + STATIC_CHECK(sfSoundChannelMono == static_cast<int>(sf::SoundChannel::Mono)); |
| 11 | + STATIC_CHECK(sfSoundChannelFrontLeft == static_cast<int>(sf::SoundChannel::FrontLeft)); |
| 12 | + STATIC_CHECK(sfSoundChannelFrontRight == static_cast<int>(sf::SoundChannel::FrontRight)); |
| 13 | + STATIC_CHECK(sfSoundChannelFrontCenter == static_cast<int>(sf::SoundChannel::FrontCenter)); |
| 14 | + STATIC_CHECK(sfSoundChannelFrontLeftOfCenter == static_cast<int>(sf::SoundChannel::FrontLeftOfCenter)); |
| 15 | + STATIC_CHECK(sfSoundChannelFrontRightOfCenter == static_cast<int>(sf::SoundChannel::FrontRightOfCenter)); |
| 16 | + STATIC_CHECK(sfSoundChannelLowFrequencyEffects == static_cast<int>(sf::SoundChannel::LowFrequencyEffects)); |
| 17 | + STATIC_CHECK(sfSoundChannelBackLeft == static_cast<int>(sf::SoundChannel::BackLeft)); |
| 18 | + STATIC_CHECK(sfSoundChannelBackRight == static_cast<int>(sf::SoundChannel::BackRight)); |
| 19 | + STATIC_CHECK(sfSoundChannelBackCenter == static_cast<int>(sf::SoundChannel::BackCenter)); |
| 20 | + STATIC_CHECK(sfSoundChannelSideLeft == static_cast<int>(sf::SoundChannel::SideLeft)); |
| 21 | + STATIC_CHECK(sfSoundChannelSideRight == static_cast<int>(sf::SoundChannel::SideRight)); |
| 22 | + STATIC_CHECK(sfSoundChannelTopCenter == static_cast<int>(sf::SoundChannel::TopCenter)); |
| 23 | + STATIC_CHECK(sfSoundChannelTopFrontLeft == static_cast<int>(sf::SoundChannel::TopFrontLeft)); |
| 24 | + STATIC_CHECK(sfSoundChannelTopFrontRight == static_cast<int>(sf::SoundChannel::TopFrontRight)); |
| 25 | + STATIC_CHECK(sfSoundChannelTopFrontCenter == static_cast<int>(sf::SoundChannel::TopFrontCenter)); |
| 26 | + STATIC_CHECK(sfSoundChannelTopBackLeft == static_cast<int>(sf::SoundChannel::TopBackLeft)); |
| 27 | + STATIC_CHECK(sfSoundChannelTopBackRight == static_cast<int>(sf::SoundChannel::TopBackRight)); |
| 28 | + STATIC_CHECK(sfSoundChannelTopBackCenter == static_cast<int>(sf::SoundChannel::TopBackCenter)); |
| 29 | +} |
0 commit comments