tests/testthat/test-vehicles.R

context("vehicles")

test_that("vehicle probability works!", {
  expect_equal(sum(vehicles(example = T)$SP), vehicles(27332097,"SP",1,"LDV","B5")$SP)
})

Try the EmissV package in your browser

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

EmissV documentation built on Sept. 18, 2024, 1:06 a.m.