mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
12 lines
277 B
C++
12 lines
277 B
C++
#include <gtest/gtest.h>
|
|
|
|
#include "coders/vec3.hpp"
|
|
#include "io/io.hpp"
|
|
|
|
TEST(VEC3, Decode) {
|
|
auto file = std::filesystem::u8path(
|
|
"res/models/block.vec3"
|
|
);
|
|
auto bytes = io::read_bytes_buffer(file);
|
|
auto model = vec3::load(file.u8string(), bytes);
|
|
}
|