MCPcopy Create free account
hub / github.com/danieljfarrell/pvtrace / test_init

Method test_init

tests/test_intersection.py:14–17  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12class TestIntersection:
13
14 def test_init(self):
15 node = Node(name='A')
16 inter = Intersection(coordsys=Node, hit=Node, point=(0.0, 0.0, 0.0), distance=0.0)
17 assert type(inter) == Intersection
18
19 def test_equality(self):
20 node = Node(name='A')

Callers

nothing calls this directly

Calls 2

NodeClass · 0.90
IntersectionClass · 0.90

Tested by

no test coverage detected