tests/testthat/Test_Torsion.R

context("Just testing Torsion functionality")

test_that("Check whether length of Torsion vector is correct",{
  PredTordir<-system.file("testForder/",package="ftrCOOL")
  PredTordir<-paste0(PredTordir,"/test_Torsion/")
  torFunc<-TorsionAngle(PredTordir,outFormat="mat")
  expect_equal(dim(torFunc),c(2,492))
})

Try the ftrCOOL package in your browser

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

ftrCOOL documentation built on Nov. 30, 2021, 1:07 a.m.