pysuperconductor/tests/test_os_gap_calc.py
Deepak e5584392e1
All checks were successful
gitea-physics/pysuperconductor/pipeline/head This commit looks good
adds support for the integrand of gap function
2020-11-22 14:09:58 -06:00

11 lines
298 B
Python

import pysuperconductor.os_gap_calc
import numpy
def test_gap_integrand_function():
actual = pysuperconductor.os_gap_calc.gap_integrand_function(10, 1, 5, 2)
numpy.testing.assert_almost_equal(
actual, 0.04471214382962651,
decimal=7, err_msg='gap integrand function is off', verbose=True
)