Skip to content

Commit d962514

Browse files
committed
added tests
1 parent d57b40a commit d962514

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

inst/tests/tests.Rraw

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21676,3 +21676,7 @@ test(2376.2, names(c(a = as.IDate("2019-01-01"))), "a")
2167621676
test(2376.3, names(as.ITime(c(a = "12:00:00"))), "a")
2167721677
test(2376.4, names(as.IDate(structure(as.POSIXct("2019-01-01 12:00:00"), names = "a"))), "a")
2167821678
test(2376.5, names(as.ITime(structure(3600, names = "a"))), "a")
21679+
test(2376.6, names(as.IDate(c(a = 18000))), "a")
21680+
test(2376.7, names(as.IDate(c(a = 1), origin = "2020-01-01")), "a")
21681+
test(2376.8, names(as.ITime(c(a = "12-00-00"), format = "%H-%M-%S")), "a")
21682+
test(2376.9, names(as.IDate(as.POSIXct(c(a = "2019-01-01"), tz="UTC"))), "a")

0 commit comments

Comments
 (0)