stuff-from-scratch/test/mesh/TestMeshObjWriter.cpp
2023-01-09 08:01:37 +00:00

15 lines
No EOL
308 B
C++

#include "MeshObjWriter.h"
#include "TestFramework.h"
#include "TestUtils.h"
#include "MeshPrimitives.h"
TEST_CASE(TestMeshObjWriter, "mesh")
{
auto mesh = MeshPrimitives::buildRectangleAsTriMesh();
MeshObjWriter writer;
writer.write(TestUtils::getTestOutputDir(__FILE__) / "out.obj", mesh.get());
};