Skip to content

Commit

Permalink
#1839 unit test created
Browse files Browse the repository at this point in the history
  • Loading branch information
GOTO committed Oct 17, 2024
1 parent fd81db8 commit c06fe22
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/testthat/test-my_first_fcn.R
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# my_first_fcn ----
## Test 1: <Explanation of the test> ----
test_that("multiplication works", {
expected_output <- "Welcome to the admiral family!"

actual_output <- my_first_fcn()

expect_equal(expected_output, actual_output)
})

0 comments on commit c06fe22

Please sign in to comment.