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

Function TEST_F

tests/tools/Wires/Misc/BoxCheckerTest.h:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16};
17
18TEST_F(BoxCheckerTest, interior_point) {
19 BoxChecker checker(m_bbox_min, m_bbox_max);
20 Vector3F p(0.0, 0.0, 0.0);
21 ASSERT_TRUE(checker.is_inside(p));
22 ASSERT_FALSE(checker.is_outside(p));
23 ASSERT_FALSE(checker.is_on_boundary(p));
24 ASSERT_FALSE(checker.is_on_boundary_edges(p));
25 ASSERT_FALSE(checker.is_on_boundary_corners(p));
26}
27
28TEST_F(BoxCheckerTest, exterior_point) {
29 BoxChecker checker(m_bbox_min, m_bbox_max);

Callers 1

Calls 5

is_outsideMethod · 0.80
is_on_boundaryMethod · 0.80
is_on_boundary_edgesMethod · 0.80
is_insideMethod · 0.45

Tested by

no test coverage detected