You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test_that("force check for negative gcd", {
# force check for negative gcd
expect_warning(
expect((extended.gcd( c(-35, -35), c(-31, -31))$gcd) >= c(0,0), "Failure, negative list elements not handled"),
"the condition has length > 1 and only the first element will be used", fixed=TRUE)
})
I would fix it, but I can't quite figure out what you're trying to do — I think you accidentally used expect() instead of something else, but I can't recreate the errors or warnings you seem to be expected.
The text was updated successfully, but these errors were encountered:
This test now fails:
I would fix it, but I can't quite figure out what you're trying to do — I think you accidentally used
expect()
instead of something else, but I can't recreate the errors or warnings you seem to be expected.The text was updated successfully, but these errors were encountered: