From 4cbd4ebbc071793c13e7b1baf33fb521a7e880ad Mon Sep 17 00:00:00 2001 From: Max Nikulin Date: Wed, 7 Aug 2024 18:12:07 +0700 Subject: More unit tests for amount_t::roundto - Add some tests from comments to pull request #2361. - Fix decimal separator in earlier added tests. --- test/regress/2329.test | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/regress/2329.test') diff --git a/test/regress/2329.test b/test/regress/2329.test index 643ef0d1..5267403d 100644 --- a/test/regress/2329.test +++ b/test/regress/2329.test @@ -6,10 +6,10 @@ assert roundto(-1.1, 1) == -1.1 ; positive places assert roundto(1.13, 1) == 1.1 -assert roundto(1,17, 1) == 1.2 +assert roundto(1.17, 1) == 1.2 assert roundto(1.10, 1) == 1.1 assert roundto(-1.13, 1) == -1.1 -assert roundto(-1,17, 1) == -1.2 +assert roundto(-1.17, 1) == -1.2 assert roundto(-1.10, 1) == -1.1 ; zero places -- cgit v1.2.3