tests/testthat/test-makeTitle.R

test_that("makeTitle", {
    expect_identical(
        object = vapply(
            X = mw,
            FUN = makeTitle,
            FUN.VALUE = character(1L),
            USE.NAMES = FALSE
        ),
        expected = c(
            "Log10 genes per UMI",
            "Mito vs. coding",
            "Words already",
            "NASA",
            "N gene"
        )
    )
})
steinbaugh/syntactic documentation built on Oct. 31, 2023, 10:36 p.m.