First cut of pulling out the relevant parts of my original game to make a little framework.
This commit is contained in:
commit
6a0c9e8d46
177 changed files with 18197 additions and 0 deletions
14
tests/sound.cpp
Normal file
14
tests/sound.cpp
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
#include <catch2/catch_test_macros.hpp>
|
||||
#include <fmt/core.h>
|
||||
#include <string>
|
||||
#include "game/sound.hpp"
|
||||
|
||||
using namespace fmt;
|
||||
|
||||
TEST_CASE("test sound manager", "[sound]") {
|
||||
sound::init();
|
||||
|
||||
sound::play("blank");
|
||||
|
||||
sound::play_at("blank", 0.1, 0.1, 0.1);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue