#include #include #include #include #include #include using namespace std; using namespace crepe; using namespace testing; class AudioTest : public Test { Mediator mediator; public: ComponentManager component_manager{mediator}; ResourceManager resource_manager{mediator}; AudioSystem system {mediator}; void SetUp() override { auto & mgr = this->component_manager; GameObject entity = mgr.new_object("name"); AudioSource & audio_source = entity.add_component("mwe/audio/sfx1.wav"); } }; TEST_F(AudioTest, Default) { system.update(); }