tests/testthat/test-RunCellSimulation.R

context("Testing functions in RunCellSimulation.R")

test_that("no NA values in output",
{  
	output <- inSilicoCellModel(3, 100, 0.1, nG = 4,outputIncrement=100)
	expect_equal(sum(is.na(output@cells)), 0)

	output <- inSilicoCellModel(1000, 1, 0.1, nG = 4)
	expect_equal(sum(is.na(output@cells)), 0)
})

Try the CancerInSilico package in your browser

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

CancerInSilico documentation built on Nov. 8, 2020, 6:32 p.m.