tests/testthat/testirtpp.R

library(IRTpp)
context("irtpp test")


test_that("irtpp type , dimension and accuracy ",{
  ts = simulateTest(model="2PL",items=5,individuals=100,seed=1)
  est = irtpp(ts$test[[1]],2)
  expect_is(ts$test[[1]],"matrix")
  expect_equal(length(ts$test[[1]]),500)
})
SICSresearch/IRTpp_old documentation built on May 9, 2019, 11:12 a.m.