Download tests/src/Mod/Part/App/FeaturePartBoolean.cpp from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 858 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/tests/src/Mod/Part/App/FeaturePartBoolean.cpp
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/tests/src/Mod/Part/App/FeaturePartBoolean.cpp
-
curl -L -o FeaturePartBoolean.cpp https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/tests/src/Mod/Part/App/FeaturePartBoolean.cpp
858 Bytes
| // SPDX-License-Identifier: LGPL-2.1-or-later | |
| class FeaturePartBooleanTest: public ::testing::Test, public PartTestHelpers::PartTestHelperClass | |
| { | |
| protected: | |
| static void SetUpTestSuite() | |
| { | |
| tests::initApplication(); | |
| } | |
| void SetUp() override | |
| { | |
| // createTestDoc(); | |
| // _boolean = _doc->addObject<Part::Boolean>(); | |
| } | |
| void TearDown() override | |
| {} | |
| Part::Boolean* _boolean; // NOLINT Can't be private in a test framework | |
| }; | |
| // This is completely tested in the FeaturePartCommon, FeaturePartCut, FeaturePartFuse and | |
| // FeaturePartSection subclasses. This class is unfortunately not usable unless initialized in one | |
| // of those forms, so no testing at this level. | |