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

Method test_equal

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

Source from the content-addressed store, hash-verified

144 n1.element = n2.element
145 assert n2 > n1, "Wrong ordering of neighbors."
146 def test_equal(self, n1, n2):
147 n1.d = n2.d
148 n1.element = n2.element
149 assert (n2 > n1) is False, "Wrong ordering of neighbors."
150
151class Test___le__:
152 def test_less_than(self, n1, n2):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected