tests/testthat/test-temperatureSample.R

context("sampling Temperatures")

test_that("edgelists of more than 3 columns are not allowed", {
  # select temperatures
  temperatures <- temperatureSample(start = 0.01, end = 20, n = 20, method = 'random')

  # expectation
  expect_false(is.unsorted(temperatures))
})

Try the DCG package in your browser

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

DCG documentation built on May 2, 2019, 6:12 a.m.