Top | ![]() |
![]() |
![]() |
![]() |
void | (*OilTestFunction) () |
OilTest * | oil_test_new () |
void | oil_test_init () |
void | oil_test_free () |
void | oil_test_set_iterations () |
void | oil_test_check_ref () |
int | oil_test_check_impl () |
void | oil_test_cleanup () |
void * | oil_test_get_source_data () |
int | oil_test_get_value () |
void | oil_test_set_test_footer () |
void | oil_test_set_test_header () |
void
(*OilTestFunction) (OilTest *test
);
Typedef for functions that initialize special values in source arrays for a particular function class.
OilTest *
oil_test_new (OilFunctionClass *klass
);
Creates a new OilTest for the OilFunctionClass represented by klass
.
void oil_test_set_iterations (OilTest *test
,int iterations
);
Sets the number of iterations of test
to iterations
.
void
oil_test_check_ref (OilTest *test
);
Runs the test specified by test
on the reference function of the
class being tested.
int oil_test_check_impl (OilTest *test
,OilFunctionImpl *impl
);
Runs the testing procedure described by test
on the implementation
impl
.
void oil_test_set_test_footer (OilTest *test
,OilParameter *p
,int test_footer
);
Sets the number of bytes of guard footer for p
to test_footer
.
void oil_test_set_test_header (OilTest *test
,OilParameter *p
,int test_header
);
Sets the number of bytes of guard header for p
to test_header
.