mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-05-03 09:24:12 +02:00
minor: rounding test
This commit is contained in:
@@ -16,7 +16,7 @@ def test_Hz():
|
||||
|
||||
def test_rounding_exact():
|
||||
f = MHz(1.234)
|
||||
assert f.value == round(1.234 * 1_000_000)
|
||||
assert f.value == round(1_234_000)
|
||||
|
||||
|
||||
def test_mul():
|
||||
|
||||
Reference in New Issue
Block a user