tests/testthat/test-xrefExists.R

library(BridgeDbR)
context("simple")

test_that("it can find identifers in the mapping file", {
    location = paste(getwd(), "test.bridge", sep = "/")
    mapper <- loadDatabase(location)
    expect_true(xrefExists(mapper, "Lm", "LMFA07050035"))
    expect_true(xrefExists(mapper, "Ik", "YECLLIMZHNYFCK-RRNJGNTNSA-J"))
})
egonw/BridgeDbR documentation built on Nov. 8, 2024, 4:21 a.m.