tests/testthat/test_trivial_gradient.R

test_that("correct vector is returned",{
  expect_equal(trivial_gradient(c(2,3)), c(1,1))
})

Try the StratPal package in your browser

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

StratPal documentation built on Dec. 6, 2025, 5:08 p.m.