raycaster/tests/sound.cpp
2026-06-17 00:32:31 -04:00

24 lines
401 B
C++

#include <fuc2/testing.hpp>
#include <fmt/core.h>
#include <string>
#include "game/sound.hpp"
using namespace fmt;
using namespace fuc2;
namespace sound_tests {
void test_test_sound_manager() {
sound::init();
sound::play("blank");
sound::play_at("blank", 0.1, 0.1, 0.1);
}
fuc2::Set TESTS{
.name="sound",
.tests={
TEST(test_test_sound_manager),
}
};
}