summaryrefslogtreecommitdiff
path: root/gerbonara/tests
diff options
context:
space:
mode:
authorjaseg <git@jaseg.de>2022-02-06 20:42:46 +0100
committerjaseg <git@jaseg.de>2022-02-06 20:42:46 +0100
commit0d21c171d30e73262a1e16e087b5af352baa192c (patch)
tree10a307bb58613cc9d7ba797877d4774ac4f93cfb /gerbonara/tests
parent77f2da8761c45048d58e98eab3cd985e60f32298 (diff)
downloadgerbonara-0.9.1.tar.gz
gerbonara-0.9.1.tar.bz2
gerbonara-0.9.1.zip
CI WIPv0.9.1
Diffstat (limited to 'gerbonara/tests')
-rw-r--r--gerbonara/tests/test_utils.py27
1 files changed, 0 insertions, 27 deletions
diff --git a/gerbonara/tests/test_utils.py b/gerbonara/tests/test_utils.py
index eca58b1..e6dc8d5 100644
--- a/gerbonara/tests/test_utils.py
+++ b/gerbonara/tests/test_utils.py
@@ -32,13 +32,6 @@ def test_zero_suppression():
("10000", 0.1),
("100000", 1.0),
("1000000", 10.0),
- ("-1", -0.00001),
- ("-10", -0.0001),
- ("-100", -0.001),
- ("-1000", -0.01),
- ("-10000", -0.1),
- ("-100000", -1.0),
- ("-1000000", -10.0),
("0", 0.0),
]
@@ -57,13 +50,6 @@ def test_zero_suppression():
("00001", 0.001),
("000001", 0.0001),
("0000001", 0.00001),
- ("-1", -10.0),
- ("-01", -1.0),
- ("-001", -0.1),
- ("-0001", -0.01),
- ("-00001", -0.001),
- ("-000001", -0.0001),
- ("-0000001", -0.00001),
("0", 0.0),
]
@@ -83,13 +69,6 @@ def test_format():
((2, 3), "1", 0.001),
((2, 2), "1", 0.01),
((2, 1), "1", 0.1),
- ((2, 7), "-1", -0.0000001),
- ((2, 6), "-1", -0.000001),
- ((2, 5), "-1", -0.00001),
- ((2, 4), "-1", -0.0001),
- ((2, 3), "-1", -0.001),
- ((2, 2), "-1", -0.01),
- ((2, 1), "-1", -0.1),
((2, 6), "0", 0),
]
for fmt, string, value in test_cases:
@@ -104,12 +83,6 @@ def test_format():
((3, 5), "1", 100.0),
((2, 5), "1", 10.0),
((1, 5), "1", 1.0),
- ((6, 5), "-1", -100000.0),
- ((5, 5), "-1", -10000.0),
- ((4, 5), "-1", -1000.0),
- ((3, 5), "-1", -100.0),
- ((2, 5), "-1", -10.0),
- ((1, 5), "-1", -1.0),
((2, 5), "0", 0),
]
for fmt, string, value in test_cases: