tests/testthat/test-check_pal.R

context('check_pal()')

test_that( 'check_pal() can replicate pie chart', {
    # Compare new figure with reference
    vdiffr::expect_doppelganger("Base graphics histogram", check_pal())
  }
)
ukgovdatascience/govstyle documentation built on Oct. 8, 2019, 7:39 p.m.