diff --git a/tests/src/Mod/Part/App/TopoDS_Shape.cpp b/tests/src/Mod/Part/App/TopoDS_Shape.cpp index 7b37566bf088..26d2f0dcdd91 100644 --- a/tests/src/Mod/Part/App/TopoDS_Shape.cpp +++ b/tests/src/Mod/Part/App/TopoDS_Shape.cpp @@ -3,8 +3,10 @@ #include #include #include +#include #include #include +#include #include // NOLINTBEGIN @@ -34,5 +36,12 @@ TEST(TopoDS_Shape, TestCastNullEdge) EXPECT_TRUE(vertex.IsNull()); } +TEST(TopoDS_Shape, TestExploreNullShape) +{ + TopoDS_Face face; + TopExp_Explorer xp(face, TopAbs_FACE); + EXPECT_FALSE(xp.More()); +} + // clang-format on // NOLINTEND