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

Method test_equal_element

test/python/test_Neighbor.py:127–129  ·  view source on GitHub ↗
(self, n1, n2)

Source from the content-addressed store, hash-verified

125 n1.d = n2.d
126 assert n1 < n2, "Wrong ordering of neighbors."
127 def test_equal_element(self, n1, n2):
128 n1.element = n2.element
129 assert n1 < n2, "Wrong ordering of neighbors."
130 def test_equal(self, n1, n2):
131 n1.d = n2.d
132 n1.element = n2.element

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected