tests/testthat/test-read_qaplib.R

library("testthat")
library("qap")

# can we read all the QAPLIP files?
problems <- dir(system.file("qaplib", package="qap"), pattern = "*.dat")

for(p in problems) {
  cat("Reading problem", p ,"\n")
  expect_silent(read_qaplib(system.file("qaplib", p, package="qap")))
}

Try the qap package in your browser

Any scripts or data that you put into this service are public.

qap documentation built on June 28, 2022, 1:06 a.m.