MCPcopy Create free account
hub / github.com/CompPhysVienna/n2p2 / test_empty_initialization

Method test_empty_initialization

test/python/test_Neighbor.py:33–37  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

31 assert isinstance(n, Neighbor), (
32 "Can not create skeleton Neighbor instance.")
33 def test_empty_initialization(self):
34 n = Neighbor()
35 assert isinstance(n, Neighbor), (
36 "Can not create empty Neighbor instance.")
37 assert isinstance(n.dr, Vec3D), "Member Vec3D not initialized."
38
39class Test_index:
40 def test_correct_type(self, n1):

Callers

nothing calls this directly

Calls 1

NeighborClass · 0.85

Tested by

no test coverage detected