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-castrodt documentation built on May 8, 2019, 3:15 a.m.