test_define() declares a single implementation of a hypothesis test.
Multiple test_define objects are passed to HTEST_FN() via defs.
This is the main extension point for adding new tests or engines.
Arguments
- model_type
A string matching the primary class of the model ID this implementation handles. E.g.
"x_by","pairwise".- impl_class
A string naming the implementation class. E.g.
"ttest_two". Used in the S3 class vector of the result.- impl
An
agendas()object declaring all implementations.- compatible_params
A character vector of
ParamDeftypes this implementation can interpret viawrite_claim(). E.g.c("MU").- eval_claim
A function with signature
function(self, claim)that interprets aClaimDeffor this implementation.NULLifwrite_claim()is not supported.