tests/testthat/test-operation-copy.R

# basic copies --------------------------------------------------------------

test_that("basic copy operations", {
  expect_equal(copy_over(aes(x = 1), color = "red"), 1 + adjust(aes(x = 1), color = "red"))
  expect_equal(copy_under(aes(x = 1), color = "red"), adjust(aes(x = 1), color = "red") + 1)
})

Try the ggblend package in your browser

Any scripts or data that you put into this service are public.

ggblend documentation built on May 31, 2023, 8:25 p.m.