Skip to content

Commit

Permalink
Update test-multi.ace.R
Browse files Browse the repository at this point in the history
  • Loading branch information
TGuillerme committed Nov 12, 2024
1 parent 56a0480 commit fcbe172
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions tests/testthat/test-multi.ace.R
Original file line number Diff line number Diff line change
Expand Up @@ -383,21 +383,21 @@ test_that("multi.ace works", {


## Test1
set.seed(3)
test <- capture.output(results <- multi.ace(data = matrix_complex,
tree = tree_test,
models = "ER",
threshold = FALSE,
special.tokens = c("weird" = "%"),
special.behaviours = list(weirdtoken = function(x,y) return(c(1,2))),
brlen.multiplier = rnorm(10),
verbose = TRUE,
parallel = FALSE,
output = "matrix",
estimation.details = c("loglikelihood", "transition_matrix")))
expect_equal(test,
c("Preparing the data:.....Done." ,
"Running ancestral states estimations:....................Done."))
# set.seed(3)
# test <- capture.output(results <- multi.ace(data = matrix_complex,
# tree = tree_test,
# models = "ER",
# threshold = FALSE,
# special.tokens = c("weird" = "%"),
# special.behaviours = list(weirdtoken = function(x,y) return(c(1,2))),
# brlen.multiplier = rnorm(10),
# verbose = TRUE,
# parallel = FALSE,
# output = "matrix",
# estimation.details = c("loglikelihood", "transition_matrix")))
# expect_equal(test,
# c("Preparing the data:.....Done." ,
# "Running ancestral states estimations:....................Done."))

# set.seed(3)
# test <- capture.output(results <- multi.ace(data = matrix_complex,
Expand Down

0 comments on commit fcbe172

Please sign in to comment.