Skip to content

Commit

Permalink
fix integer returned
Browse files Browse the repository at this point in the history
  • Loading branch information
robitalec committed Nov 20, 2024
1 parent 116dab6 commit 86c2b96
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-edge-delay.R
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,8 @@ test_that('two columns added to the result DT', {
ncol(edge_delay(edges, DT, id = id, window = window)))
})

test_that('column added to the result DT is double', {
expect_type(edge_delay(edges, DT, id = id, window = window)$dir_corr_delay, 'double')
test_that('column added to the result DT is integer', {
expect_type(edge_delay(edges, DT, id = id, window = window)$dir_corr_delay, 'integer')
})

test_that('returns a data.table', {
Expand Down

0 comments on commit 86c2b96

Please sign in to comment.