cleanup off writer output file
git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1327 fdac6126-5c0c-442c-9429-916003d36597
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
#include <gtest/gtest.h>
|
#include <gtest/gtest.h>
|
||||||
#include <Unittests/unittests_common.hh>
|
#include <Unittests/unittests_common.hh>
|
||||||
|
#include <cstdio>
|
||||||
|
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
@@ -80,6 +81,7 @@ TEST_F(OpenMeshReadWriteOFF, WriteAndReadVertexColorsToAndFromOFFFile) {
|
|||||||
OpenMesh::IO::Options opt(OpenMesh::IO::Options::VertexColor);
|
OpenMesh::IO::Options opt(OpenMesh::IO::Options::VertexColor);
|
||||||
OpenMesh::IO::write_mesh(mesh_, "temp.off", opt);
|
OpenMesh::IO::write_mesh(mesh_, "temp.off", opt);
|
||||||
OpenMesh::IO::read_mesh(mesh_, "temp.off", opt);
|
OpenMesh::IO::read_mesh(mesh_, "temp.off", opt);
|
||||||
|
remove("temp.off");
|
||||||
|
|
||||||
// check if vertices still have the same color
|
// check if vertices still have the same color
|
||||||
count = 0;
|
count = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user