Jean-Baptiste-Camps / stemmatology

Stemmatological Analysis of Textual Traditions
GNU General Public License v3.0
15 stars 3 forks source link

Write tests for each function #26

Closed Jean-Baptiste-Camps closed 6 years ago

Jean-Baptiste-Camps commented 6 years ago

To create the skeleton for a test:

library(devtools)
use_test(name ="maFonction")

then use the syntax from the testthat package. See the documentation of the function test_that().