Skip to content

Commit 3102b5b

Browse files
committed
1 parent 5d1a4ca commit 3102b5b

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/tests/units/decimal-test.r3

+15
Original file line numberDiff line numberDiff line change
@@ -230,6 +230,21 @@ Rebol [
230230
--assert 2 = t/2.1
231231
--assert 2 = t/2.6
232232

233+
--test-- "equality of numerical values of different types"
234+
;@@ https://github.com/Oldes/Rebol-issues/issues/1046
235+
--assert 0 = 0%
236+
--assert 0 = $0
237+
--assert 0 = 0.0
238+
--assert 0% = 0
239+
--assert 0% = $0
240+
--assert 0% = 0.0
241+
--assert $0 = 0
242+
--assert $0 = 0%
243+
--assert $0 = 0.0
244+
--assert 0.0 = 0%
245+
--assert 0.0 = $0
246+
--assert 0.0 = 0
247+
233248
===end-group===
234249

235250
===start-group=== "trigonometric function"

0 commit comments

Comments
 (0)