File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33import numpy as np
44import numpy .testing as npt
55
6+ from inflammation .models import daily_mean
67
78def test_daily_mean_zeros ():
89 """Test that mean function works for an array of zeros."""
9- from inflammation . models import daily_mean
10+
1011
1112 test_input = np .array ([[0 , 0 ],
1213 [0 , 0 ],
@@ -19,7 +20,6 @@ def test_daily_mean_zeros():
1920
2021def test_daily_mean_integers ():
2122 """Test that mean function works for an array of positive integers."""
22- from inflammation .models import daily_mean
2323
2424 test_input = np .array ([[1 , 2 ],
2525 [3 , 4 ],
Original file line number Diff line number Diff line change 11"""Tests for the Patient model."""
22
3+ from inflammation .models import Patient
34
45def test_create_patient ():
5- from inflammation .models import Patient
66
77 name = 'Alice'
88 p = Patient (name = name )
You can’t perform that action at this time.
0 commit comments