tests/testthat/testPercen_Variance.R

#context("Percen_Variance")

matt=matrix(c(1:4),2,2)

fin=c(50,50)

test_that("Percen_Variance", {
  expect_equal(Percen_Variance(matt),fin,tolerance=1e-5)

})

Try the CoDaLoMic package in your browser

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

CoDaLoMic documentation built on April 12, 2025, 2:18 a.m.