tests/testthat/testNumerics.R

test_that("Potential numerical issues",{
	expect_equal( range( sapply(subtracks( diffinv(matrix(rep(sqrt(2),200),ncol=4,byrow=T)), 2 ),
		overallAngle ) ), c(0,0) )
})

Try the celltrackR package in your browser

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

celltrackR documentation built on March 21, 2022, 5:06 p.m.