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

Method test_nonfloat_argument

test/python/test_CutoffFunction.py:160–162  ·  view source on GitHub ↗
(self, c1)

Source from the content-addressed store, hash-verified

158 assert df == pytest.approx(cf_dvalue), (
159 "Wrong cutoff derivative value.")
160 def test_nonfloat_argument(self, c1):
161 with pytest.raises(TypeError):
162 c1.fdf("a")

Callers

nothing calls this directly

Calls 1

fdfMethod · 0.45

Tested by

no test coverage detected