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

Method test_distance_different

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

Source from the content-addressed store, hash-verified

95 n1.d = n2.d
96 assert (n1 == n2) is False, "Different neighbors are equal."
97 def test_distance_different(self, n1, n2):
98 n1.element = n2.element
99 assert (n1 == n2) is False, "Different neighbors are equal."
100 def test_equal(self, n1, n2):
101 n1.d = n2.d
102 n1.element = n2.element

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected