MCPcopy Create free account
hub / github.com/SINGROUP/dscribe / test_normalization

Function test_normalization

tests/test_mbtr.py:333–336  ·  view source on GitHub ↗

Tests that the normalization works correctly.

(normalization, norm_rel, norm_abs)

Source from the content-addressed store, hash-verified

331 ],
332)
333def test_normalization(normalization, norm_rel, norm_abs):
334 """Tests that the normalization works correctly."""
335 system = bulk("Cu", "fcc", cubic=True, a=3.6)
336 assert_normalization(mbtr_default_k2, system, normalization, norm_rel, norm_abs)
337
338
339@pytest.mark.parametrize("k", [1, 2, 3])

Callers

nothing calls this directly

Calls 1

assert_normalizationFunction · 0.90

Tested by

no test coverage detected