mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-04 03:15:59 -04:00
Use move tests for mixer
This commit is contained in:
parent
4c8d854c9c
commit
6da3e4e71f
@ -4,6 +4,7 @@
|
||||
#include <SDL2pp/SDL2pp.hh>
|
||||
|
||||
#include "testing.h"
|
||||
#include "movetest.hh"
|
||||
|
||||
using namespace SDL2pp;
|
||||
|
||||
@ -16,8 +17,8 @@ BEGIN_TEST(int, char*[])
|
||||
Chunk sound(TESTDATA_DIR "/test.ogg");
|
||||
Music music(TESTDATA_DIR "/test.ogg");
|
||||
|
||||
EXPECT_TRUE(sound.Get());
|
||||
EXPECT_TRUE(music.Get());
|
||||
MOVE_TEST(Chunk, sound, Get, nullptr);
|
||||
MOVE_TEST(Music, music, Get, nullptr);
|
||||
|
||||
constexpr int delay = 500;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user