mirror of
https://github.com/fjosw/pyerrors.git
synced 2025-05-14 19:43:41 +02:00
Additional comparison tests added
This commit is contained in:
parent
4d394975c5
commit
74d1021665
1 changed files with 4 additions and 0 deletions
|
@ -32,6 +32,10 @@ def test_comparison():
|
||||||
assert test_obs2 <= test_obs2
|
assert test_obs2 <= test_obs2
|
||||||
assert test_obs1 == test_obs1
|
assert test_obs1 == test_obs1
|
||||||
assert test_obs2 == test_obs2
|
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_obs1 != test_obs2
|
||||||
assert test_obs2 != test_obs1
|
assert test_obs2 != test_obs1
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue