Skip to content

Commit 380bcba

Browse files
committed
tests: failing integer64 readable as small integer
1 parent d854391 commit 380bcba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15088,6 +15088,8 @@ if (test_bit64) {
1508815088
test(2039.19, between(x+maxint, 3+maxint, NA, incbounds=FALSE), c(head(ans36open, -5L), rep(TRUE, 5)), output="between parallel processing of integer64 took")
1508915089
test(2039.20, between(x+maxint, rep(NA, 10L), rep(6+maxint, 10L)), c(TRUE, TRUE, tail(ans36, -2L)), output="between parallel processing of integer64 took")
1509015090
test(2039.21, between(x+maxint, rep(3+maxint, 10L), rep(NA, 10L), incbounds=FALSE), c(head(ans36open, -5L), rep(TRUE, 5)), output="between parallel processing of integer64 took")
15091+
# must not blindly read integer64 values as doubles when the latter fit into int32, #7164
15092+
test(2039.22, between(42L, structure(41., class="integer64"), structure(43., class="integer64")), error="x is not integer64 but.*Please align classes")
1509115093
options(old)
1509215094
}
1509315095

0 commit comments

Comments
 (0)