tests/testthat/test-getAutomorphisms.R

test_that("getAutomorphisms function test", {
    data(autm, package = "GenomAutomorphism")
    aut <- autm@elementMetadata
    test1 <- length(ranges(getAutomorphisms(aut))) == 7100
    test2 <- inherits(getAutomorphisms(x = list(aut, aut)), "AutomorphismList")
    expect_true(all(test1, test2))
})
genomaths/GenomAutomorphism documentation built on May 10, 2024, 12:11 a.m.