Add more DXF files to unit tests

pull/5034/head
Turo Lamminen 2023-03-23 15:23:30 +02:00 committed by Turo Lamminen
parent bed2cf1a23
commit 6832aa227a
1 changed files with 14 additions and 0 deletions

View File

@ -71,3 +71,17 @@ TEST_F(utDXFImporterExporter, issue2229) {
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/DXF/issue_2229.dxf", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene);
}
TEST_F(utDXFImporterExporter, importWuson) {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_DIR "/DXF/wuson.dxf", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene);
}
TEST_F(utDXFImporterExporter, importRifle) {
Assimp::Importer importer;
const aiScene *scene = importer.ReadFile(ASSIMP_TEST_MODELS_NONBSD_DIR "/DXF/rifle.dxf", aiProcess_ValidateDataStructure);
EXPECT_NE(nullptr, scene);
}