aboutsummaryrefslogtreecommitdiff
path: root/src/test/ResourceManagerTest.cpp
blob: 42b6b5d6bb4c0e387b9b2f4ce1e1196e89fccb07 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <gtest/gtest.h>

#include <crepe/api/ResourceManager.h>

using namespace std;
using namespace crepe;
using namespace testing;

class ResourceManagerTest : public Test {
public:
	ResourceManager & manager = ResourceManager::get_instance();

	void SetUp() override {
		this->manager.clear();
	}
};

TEST_F(ResourceManagerTest, Main) {
	Sound & sound = this->manager.cache<Sound>("mwe/audio/sfx1.wav");
}