Download tests/src/Mod/Points/App/PointsFeature.cpp from AbdulElahGwaith/FreeCAD: direct link, hf CLI and curl.
- Browser
- Download file 803 Bytes
-
https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/tests/src/Mod/Points/App/PointsFeature.cpp
- Command line
-
hf download hf://AbdulElahGwaith/FreeCAD/tests/src/Mod/Points/App/PointsFeature.cpp
-
curl -L -o PointsFeature.cpp https://huggingface.co/AbdulElahGwaith/FreeCAD/resolve/main/tests/src/Mod/Points/App/PointsFeature.cpp
803 Bytes
| // SPDX-License-Identifier: LGPL-2.1-or-later | |
| class PointsFeatureTest: public ::testing::Test | |
| { | |
| protected: | |
| static void SetUpTestSuite() | |
| { | |
| tests::initApplication(); | |
| } | |
| void SetUp() override | |
| {} | |
| void TearDown() override | |
| {} | |
| }; | |
| // NOLINTBEGIN(cppcoreguidelines-*,readability-*) | |
| TEST_F(PointsFeatureTest, getElementTypes) | |
| { | |
| Points::Feature pf; | |
| std::vector<const char*> types = pf.getElementTypes(); | |
| EXPECT_EQ(types.size(), 0); | |
| } | |
| TEST_F(PointsFeatureTest, getComplexElementTypes) | |
| { | |
| Points::PointKernel pk; | |
| std::vector<const char*> types = pk.getElementTypes(); | |
| EXPECT_EQ(types.size(), 0); | |
| } | |
| // NOLINTEND(cppcoreguidelines-*,readability-*) | |