MCPcopy Create free account
hub / github.com/LibrePCB/LibrePCB / TEST_F

Function TEST_F

tests/unittests/core/algorithm/netsegmentsimplifiertest.cpp:76–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74 ******************************************************************************/
75
76TEST_F(NetSegmentSimplifierTest, testEmpty) {
77 NetSegmentSimplifier obj;
78 const Result actual = obj.simplify();
79
80 const Result expected{{}, {}, {}, false};
81 EXPECT_EQ(str(expected), str(actual));
82}
83
84TEST_F(NetSegmentSimplifierTest, testIncrementingIdsAndResetState) {
85 NetSegmentSimplifier obj;

Callers

nothing calls this directly

Calls 5

simplifyMethod · 0.80
addAnchorMethod · 0.80
PointClass · 0.50
LengthClass · 0.50
addLineMethod · 0.45

Tested by

no test coverage detected