Forgot a ton of files in the last commit.

This commit is contained in:
Zed A. Shaw 2025-05-05 12:11:51 -04:00
parent f5f5ca6431
commit df024adccd
24 changed files with 560 additions and 0 deletions

15
tests/textures.cpp Normal file
View file

@ -0,0 +1,15 @@
#include <catch2/catch_test_macros.hpp>
#include <fmt/core.h>
#include <string>
#include "textures.hpp"
using namespace fmt;
TEST_CASE("test texture management", "[textures]") {
textures::init();
auto spider = textures::get("textures_test");
REQUIRE(spider.sprite != nullptr);
REQUIRE(spider.texture != nullptr);
auto image = textures::load_image("assets/textures_test.png");
}