parent
5c53b0d6e4
commit
e565797d69
Binary file not shown.
|
@ -20,6 +20,7 @@ engine_add_module(TARGET ${LIB} SRCS ${SRCS} DEPENDENCIES voxel voxelutil)
|
|||
|
||||
set(TEST_SRCS
|
||||
tests/AbstractVoxFormatTest.h tests/AbstractVoxFormatTest.cpp
|
||||
tests/AoSVXLFormatTest.cpp
|
||||
tests/BinVoxFormatTest.cpp
|
||||
tests/VoxFormatTest.cpp
|
||||
tests/QBTFormatTest.cpp
|
||||
|
@ -33,6 +34,7 @@ set(TEST_SRCS
|
|||
set(TEST_FILES
|
||||
tests/qubicle.qb
|
||||
tests/qubicle.qbt
|
||||
tests/aceofspades.vxl
|
||||
tests/cc.vxl
|
||||
tests/test.binvox
|
||||
tests/test.kvx
|
||||
|
|
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* @file
|
||||
*/
|
||||
|
||||
#include "AbstractVoxFormatTest.h"
|
||||
#include "voxelformat/AoSVXLFormat.h"
|
||||
|
||||
namespace voxel {
|
||||
|
||||
class AoSVXLFormatTest: public AbstractVoxFormatTest {
|
||||
};
|
||||
|
||||
TEST_F(AoSVXLFormatTest, testLoad) {
|
||||
AoSVXLFormat f;
|
||||
std::unique_ptr<RawVolume> volume(load("aceofspades.vxl", f));
|
||||
ASSERT_NE(nullptr, volume) << "Could not load ace of spades file";
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue