RosettaCodeData/Task/Assertions/PARI-GP/assertions-1.pari
Ingy döt Net 776bba907c Sync
2013-10-27 22:24:23 +00:00

11 lines
201 B
Text

#include <assert.h>
#include <pari/pari.h>
void
test()
{
GEN a;
// ... input or change a here
assert(equalis(a, 42)); /* Aborts program if a is not 42, unless the NDEBUG macro was defined */
}