From 6832aa227ab5d22f3ae4703097f12a814e9fad3e Mon Sep 17 00:00:00 2001 From: Turo Lamminen Date: Thu, 23 Mar 2023 15:23:30 +0200 Subject: [PATCH] Add more DXF files to unit tests --- test/unit/utDXFImporterExporter.cpp | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/test/unit/utDXFImporterExporter.cpp b/test/unit/utDXFImporterExporter.cpp index 9193946b5..53c5328e4 100644 --- a/test/unit/utDXFImporterExporter.cpp +++ b/test/unit/utDXFImporterExporter.cpp @@ -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); +}