Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
philipdelff committed Oct 29, 2024
1 parent 9e46e7f commit f997de7
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 21 deletions.
21 changes: 14 additions & 7 deletions man/NMcheckData.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 8 additions & 10 deletions man/NMreadPhi.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/NMreadSection.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions tests/testthat/test_NMcheckData.R
Original file line number Diff line number Diff line change
Expand Up @@ -331,10 +331,12 @@ test_that("simulation data",{
dt.sim <- data.table(ID=1,EVID=2,CMT=2,TIME=0:24)

dt.all <- rbind(dt.dos,dt.sim,fill=T)

res <- NMcheckData(dt.all, quiet=TRUE,type.data="sim")

expect_equal_to_reference(res,fileRef)
res <- NMcheckData(dt.all, quiet=TRUE,type.data="sim")
## nrow(res)
expect_equal(nrow(res),0)

## expect_equal_to_reference(res,fileRef)

})

Expand Down

0 comments on commit f997de7

Please sign in to comment.