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

Method test_element_different

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

Source from the content-addressed store, hash-verified

106 def test_equal(self, n1, n2):
107 assert (n1 != n2) is False, "Different neighbors are not different."
108 def test_element_different(self, n1, n2):
109 n1.d = n2.d
110 assert n1 != n2, "Different neighbors are not different."
111 def test_distance_different(self, n1, n2):
112 n1.element = n2.element
113 assert n1 != n2, "Different neighbors are not different."

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected