diff options
Diffstat (limited to 'tests/test_custom_independentvar.py')
-rw-r--r-- | tests/test_custom_independentvar.py | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/test_custom_independentvar.py b/tests/test_custom_independentvar.py index ae39963..4be2f53 100644 --- a/tests/test_custom_independentvar.py +++ b/tests/test_custom_independentvar.py @@ -33,13 +33,13 @@ def test_custom_independentvar(): params = gmod.make_params(amplitude=2, center=5, sigma=8) out = gmod.fit(y, params, obj=obj) - assert(out.nvarys == 3) - assert(out.nfev > 10) - assert(out.chisqr > 1) - assert(out.chisqr < 100) - assert(out.params['sigma'].value < 3) - assert(out.params['sigma'].value > 2) - assert(out.params['center'].value > xmin) - assert(out.params['center'].value < xmax) - assert(out.params['amplitude'].value > 1) - assert(out.params['amplitude'].value < 5) + assert out.nvarys == 3 + assert out.nfev > 10 + assert out.chisqr > 1 + assert out.chisqr < 100 + assert out.params['sigma'].value < 3 + assert out.params['sigma'].value > 2 + assert out.params['center'].value > xmin + assert out.params['center'].value < xmax + assert out.params['amplitude'].value > 1 + assert out.params['amplitude'].value < 5 |