Non-Contradiction / autodiffr

Automatic Differentiation for R
https://non-contradiction.github.io/autodiffr/
Other
23 stars 2 forks source link

Need to have functions to build tests #5

Closed Non-Contradiction closed 6 years ago

Non-Contradiction commented 6 years ago

Lots of tests about the wrapper functions would look like this: https://github.com/Non-Contradiction/autodiffr/blob/master/tests/testthat/test_wrapper_basic.R

Need to have some methods to automate the creation of such tests.

The section building your own testing tools in http://r-pkgs.had.co.nz/tests.html may be helpful.

Non-Contradiction commented 6 years ago

The commit works fine.

Non-Contradiction commented 6 years ago

Now we have to add more tests, which is an important part of the first phase.