context("AND operator")
library(DeepOperators)
test_that("TRUE and TRUE is TRUE", {
expect_true(TRUE %&% TRUE)
})
test_that("TRUE and FALSE is FALSE", {
expect_false(TRUE %&% FALSE)
expect_false(FALSE %&% TRUE)
})
test_that("FALSE and FALSE is FALSE", {
expect_false(FALSE %&% FALSE)
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.