Hi team,
I am trying to translate the unittest elements from Python in R using testthat(). This is my test code in test_trick.R (similar test in test_magic.R):
context("check the sum")
library(testthat)
test_that("check the sum", {
expect_equal(trick(parse_line("D2.html")), 6972)
}
)
with the bash output as follows:
I read the failed: 1 as the test results but there are no failed messages. That's why I do not get it whether the tests are failed or not.
Also No one gets it right on their first try is literally understood. What does it mean actually?
The text was updated successfully, but these errors were encountered:
Hi team,
I am trying to translate the unittest elements from Python in R using testthat(). This is my test code in test_trick.R (similar test in test_magic.R):
with the bash output as follows:

I read the
failed: 1as the test results but there are no failed messages. That's why I do not get it whether the tests are failed or not.Also
No one gets it right on their first tryis literally understood. What does it mean actually?The text was updated successfully, but these errors were encountered: