Added unit test
This commit is contained in:
parent
c9c310d1fa
commit
58ee8ccb92
1 changed files with 1 additions and 0 deletions
|
|
@ -7,6 +7,7 @@ test_that("Auxiliary functions work properly", {
|
|||
popnames2 = matrix(c(11:13, seq(1.5, 2.5, 0.5)), 3),
|
||||
rowsFromInd = 2
|
||||
)
|
||||
x2 <- matrix(seq(4, 14, 2), 3)
|
||||
expect_equal(findOutRowsFromInd(x, y, "Diploid"), z)
|
||||
expect_equal(
|
||||
getPopDistancesByKL(x2),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue