mirror of
https://github.com/libSDL2pp/libSDL2pp.git
synced 2025-08-03 19:05: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 <SDL2pp/SDL2pp.hh>
|
||||||
|
|
||||||
#include "testing.h"
|
#include "testing.h"
|
||||||
|
#include "movetest.hh"
|
||||||
|
|
||||||
using namespace SDL2pp;
|
using namespace SDL2pp;
|
||||||
|
|
||||||
@ -16,8 +17,8 @@ BEGIN_TEST(int, char*[])
|
|||||||
Chunk sound(TESTDATA_DIR "/test.ogg");
|
Chunk sound(TESTDATA_DIR "/test.ogg");
|
||||||
Music music(TESTDATA_DIR "/test.ogg");
|
Music music(TESTDATA_DIR "/test.ogg");
|
||||||
|
|
||||||
EXPECT_TRUE(sound.Get());
|
MOVE_TEST(Chunk, sound, Get, nullptr);
|
||||||
EXPECT_TRUE(music.Get());
|
MOVE_TEST(Music, music, Get, nullptr);
|
||||||
|
|
||||||
constexpr int delay = 500;
|
constexpr int delay = 500;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user