Skip to content

Commit 8b7e8b8

Browse files
committed
1 parent fb668a0 commit 8b7e8b8

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

src/tests/units/mold-test.r3

+5
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,11 @@ Rebol [
446446
;@@ https://github.com/Oldes/Rebol-issues/issues/219
447447
--assert "#[datatype! integer!]" = mold/all integer!
448448

449+
--test-- "mold/all decimal!"
450+
;@@ https://github.com/Oldes/Rebol-issues/issues/1633
451+
--assert "0.10000000000000001" = mold/all 0.1
452+
--assert "0.29999999999999999" = mold/all 0.3
453+
449454
===end-group===
450455

451456
~~~end-file~~~

src/tests/units/percent-test.r3

+5
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ Rebol [
4949
--assert "-10%" = mold -10%
5050
--assert "-0.1%" = mold -0.1%
5151
--assert "-100%" = mold -100%
52+
53+
--test-- "mold/all"
54+
;@@ https://github.com/Oldes/Rebol-issues/issues/1633
55+
--assert same? 9.9999999999999926e154% load mold/all 9.9999999999999926e154%
56+
5257
===end-group===
5358

5459
===start-group=== "percent issues"

0 commit comments

Comments
 (0)