Skip to content

Commit e359c9a

Browse files
Coverage of some radix_r code
1 parent b951dd9 commit e359c9a

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

inst/tests/tests.Rraw

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21147,3 +21147,8 @@ dt = data.table(id = 1:25)
2114721147
test(2314.1, any(grepl("<int>", tail(capture.output(print(dt, class = TRUE)), 2))), TRUE)
2114821148
# Test that class=TRUE with col.names="top" doesn't show classes at bottom
2114921149
test(2314.2, !any(grepl("<int>", tail(capture.output(print(dt, class = TRUE, col.names = "top")), 2))), TRUE)
21150+
21151+
# forder.c coverage
21152+
N <- 70000L
21153+
DT <- data.table(V1 = rep(2:1, c(1L, N-1L)))
21154+
test(2315, tail(DT[order(V1), V1], 2L), 1:2)

0 commit comments

Comments
 (0)