Add unit-test for STL format auto detection

pull/2269/head
Alexandre Avenel 2018-12-08 22:52:23 +01:00
parent 95d9c16a3b
commit b25975af48
1 changed files with 6 additions and 0 deletions

View File

@ -80,6 +80,12 @@ TEST_F(utSTLImporterExporter, test_multiple) {
EXPECT_NE(nullptr, scene2);
}
TEST_F(utSTLImporterExporter, importSTLformatdetection) {
::Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/STL/formatDetection", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene);
}
TEST_F( utSTLImporterExporter, test_with_two_solids ) {
Assimp::Importer importer;