diff --git a/setup.py b/setup.py new file mode 100644 index 0000000..d878cc8 --- /dev/null +++ b/setup.py @@ -0,0 +1,3 @@ +from setuptools import setup, find_packages + +setup(name="inflammation-analysis", version="1.0", packages=find_packages()) \ No newline at end of file diff --git a/tests/test_models.py b/tests/test_models.py index 295e32c..ce06af8 100644 --- a/tests/test_models.py +++ b/tests/test_models.py @@ -29,3 +29,15 @@ def test_daily_mean_integers(): # Need to use Numpy testing functions to compare arrays npt.assert_array_equal(daily_mean(test_input), test_result) + +def test_daily_min_integers(): + """ Test that min function words for an array of positive intgers""" + from inflammation.models import daily_min + + test_input = np.array([[1, 2], + [3, 4], + [5, 6]]) + test_result = np.array([1, 2]) + + # Need to use Numpy testing functions to compare arrays + npt.assert_array_equal(daily_min(test_input), test_result) \ No newline at end of file