tests/testthat/test-colplot.R

context("colplot")

a <-   colplot(
  EmissionFactors(data.frame(a = 1:5,
                             b = 1:5))
)
a
test_that("colplot works", {
  expect_equal(
    round(a$rect$w), 0)
})

test_that("colplot works", {
  expect_equal(
    round(colplot(
      EmissionFactors(data.frame(a = 1:5))
    )$rect$w, 0), 0)
})
ibarraespinosa/vein documentation built on April 13, 2024, 8:51 p.m.