Branch Coverage

lib/PDL/Primitive-pp-srandom.c
Criterion Covered Total %
branch 8 16 50.0


line true false branch
50 4 0 switch (__privtrans->__datatype) { /* Start generic switch */
52 0 4 PDL_DECLARE_PARAMS_srandom_1(PDL_LongLong,Q)
4 0 PDL_DECLARE_PARAMS_srandom_1(PDL_LongLong,Q)
0 4 PDL_DECLARE_PARAMS_srandom_1(PDL_LongLong,Q)
86 0 4 if (!PDL) return (pdl_error){PDL_EFATAL, "PDL core struct is NULL, can't continue",0};
88 0 4 if (!__privtrans) return PDL->make_error_simple(PDL_EFATAL, "Couldn't create trans");
90 0 4 PDL_RETERROR(PDL_err, PDL->type_coerce(__privtrans));
91 0 4 PDL_RETERROR(PDL_err, PDL->make_trans_mutual(__privtrans));