mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-15 03:53:41 +02:00
fixed seed added to tests
This commit is contained in:
parent
1b63f5dd3b
commit
bb9790acd7
4 changed files with 12 additions and 1 deletions
|
@ -9,6 +9,8 @@ from scipy.odr import ODR, Model, Data, RealData
|
|||
import pyerrors as pe
|
||||
import pytest
|
||||
|
||||
np.random.seed(0)
|
||||
|
||||
def test_standard_fit():
|
||||
dim = 10 + int(30 * np.random.rand())
|
||||
x = np.arange(dim)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue