From ec436cd39861c7585dbef27615f3e128448cbc9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matthias=20M=C3=B6ller?= Date: Fri, 21 Aug 2015 12:11:16 +0000 Subject: [PATCH] cleanup off writer output file git-svn-id: http://www.openmesh.org/svnrepo/OpenMesh/trunk@1327 fdac6126-5c0c-442c-9429-916003d36597 --- src/Unittests/unittests_read_write_OFF.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Unittests/unittests_read_write_OFF.cc b/src/Unittests/unittests_read_write_OFF.cc index 69ecfced..0a9684ed 100644 --- a/src/Unittests/unittests_read_write_OFF.cc +++ b/src/Unittests/unittests_read_write_OFF.cc @@ -1,5 +1,6 @@ #include #include +#include namespace { @@ -80,6 +81,7 @@ TEST_F(OpenMeshReadWriteOFF, WriteAndReadVertexColorsToAndFromOFFFile) { OpenMesh::IO::Options opt(OpenMesh::IO::Options::VertexColor); OpenMesh::IO::write_mesh(mesh_, "temp.off", opt); OpenMesh::IO::read_mesh(mesh_, "temp.off", opt); + remove("temp.off"); // check if vertices still have the same color count = 0;