23 lines
408 B
C++
23 lines
408 B
C++
#include <fmt/core.h>
|
|
#include <string>
|
|
#include "guecs/sfml/sound.hpp"
|
|
#include <fuc2/testing.hpp>
|
|
|
|
using namespace fuc2;
|
|
|
|
namespace sound_tests {
|
|
void test_sound_manager() {
|
|
sound::init();
|
|
|
|
sound::play("blank");
|
|
|
|
sound::play_at("blank", 0.1, 0.1, 0.1);
|
|
}
|
|
|
|
fuc2::Set TESTS{
|
|
.name="sound manager tests",
|
|
.tests={
|
|
{"test_sound_manager", test_sound_manager},
|
|
}
|
|
};
|
|
}
|