Skip to content

Commit

Permalink
add basic test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnr committed Apr 30, 2024
1 parent 6885db4 commit f0b4047
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tests/testthat/test-rpi_get.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_that("rpi_get", {
skip_if_not(is.rpi(), message = "Not a Raspberry Pi")
skip("skip")
expect_error(rpi_get(1), info = "rpi_get(1) isn't valid")
})
2 changes: 1 addition & 1 deletion tests/testthat/test-rpi_i2c_set.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_that("rpi_i2c_set", {
skip_if_not(is.rpi(), message = "Not a Raspberry Pi")
skip("skip")
expect_error(rpi_i2c_set(1), info = "rpi_i2c_set(1) isn't valid")
})
2 changes: 1 addition & 1 deletion tests/testthat/test-rpi_monitor.R
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
test_that("test rpi_monitor", {
skip_if_not(is.rpi(), message = "Not a Raspberry Pi")
skip("skip")
expect_error(rpi_monitor(1), info = "rpi_monitor(1) isn't valid")
})

0 comments on commit f0b4047

Please sign in to comment.