Skip to content

Commit

Permalink
Add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koheiw committed Apr 1, 2024
1 parent 6885072 commit 5195958
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tests/testthat/test-proxy.R
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,11 @@ test_that("options are working", {
)
options("proxyC.threads" = NULL) # reset
})

test_that("C++ utility functions are working", {

expect_type(proxyC:::cpp_tbb_enabled(), "logical")
expect_type(proxyC:::cpp_get_max_thread(), "integer")

})

0 comments on commit 5195958

Please sign in to comment.