tests/testthat/test_solution.R

test_that("GetHowManyTrees_solution",{
	expect_equal(GetHowManyTrees_solution(), 34459425)
})

test_that("GetAlignment_solution",{
	library(ape)
	data(woodmouse)
	alignment <- GetAlignment_solution()
	expect_equal(dim(alignment)[2], dim(woodmouse)[2])
})
PhyloMeth/getting-started-apmotta documentation built on May 8, 2019, 2:38 a.m.