tests/testthat/test-makeLabel.R

test_that("makeLabel", {
    expect_identical(
        object = vapply(
            X = mw,
            FUN = makeLabel,
            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.