From 74d10216650583c8a0da19c3ea9e2e4141862746 Mon Sep 17 00:00:00 2001 From: Fabian Joswig Date: Tue, 19 Oct 2021 11:25:53 +0100 Subject: [PATCH] Additional comparison tests added --- tests/test_pyerrors.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_pyerrors.py b/tests/test_pyerrors.py index 7d304464..ceef70c2 100644 --- a/tests/test_pyerrors.py +++ b/tests/test_pyerrors.py @@ -32,6 +32,10 @@ def test_comparison(): assert test_obs2 <= test_obs2 assert test_obs1 == test_obs1 assert test_obs2 == test_obs2 + assert test_obs1 - test_obs1 == 0.0 + assert test_obs1 / test_obs1 == 1.0 + assert test_obs1 != value1 + assert test_obs2 != value2 assert test_obs1 != test_obs2 assert test_obs2 != test_obs1