aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-11-26 23:47:12 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-11-26 23:47:12 +0100
commit506aa88bf67d0c426b8614b58c81e2b246d2d1c8 (patch)
treec021a78f494c1bbe198c1604fcd25110687785b5 /tests
parentc52033effd2fae8350c03524886ed92444d11b8e (diff)
fixed formatting floating point numbersHEADmaster-fmsbw-cimaster
100.0 was formatted as "1" since all sequences of "0" and "." were stripped from the end.
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index ff6f509..c748086 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -56,6 +56,7 @@ TE_CHECK([[-@0ffffffffffffffffff$]], 1, ignore, ignore)
# NOTE: %q does not change the register's number type.
TE_CHECK([[1.Ua 0.1%a:=]], 0, [1.1], ignore)
TE_CHECK([[1Ua 0.1%a:=]], 0, [1], ignore)
+TE_CHECK([[100.0:=]], 0, [100], ignore)
TE_CHECK([[23.04:=]], 0, [23.04], ignore)
TE_CHECK([[0.04:=]], 0, [0.04], ignore)
TE_CHECK([[23.04#0:=]], 0, [23], ignore)