

def test_evalF1_1(self):
    'Test function for evalF1() 1/2'
    r = evalF1([0.5, 1, 1.5, 2, 5, 10, 20, 30, 40.7, 50], 2, 23)
    ref = 0.54414331138357
    self.assertTrue(np.allclose((r,), (ref,)))

dataset/ETHPy150Open ggventurini/python-deltasigma/deltasigma/tests/test_evalF1.py TestEvalF1.test_evalF1_1/original