tests/testthat/test_neb.R

context("Testing neb and related functions")
test_that("Testing that fesminima correctly identifies energy minima", {
  # neb
  myfes<-fes(acealanme)
  mins<-fesminima(myfes)
  myneb<-neb(mins, min1="A", min2="B")
  thalf<-summary(myneb)[1,2]
  expect_equal(object=thalf, expected=3.09, tolerance=0.01, scale=1)
  
})

Try the metadynminer package in your browser

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

metadynminer documentation built on April 14, 2022, 5:06 p.m.