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 Sept. 18, 2023, 8:14 p.m.