CuAssertIntEquals 61 test/api/CuTest.h void CuAssertIntEquals(CuTest* tc, char *message, int expected, int actual); CuAssertIntEquals 88 test/api/gc-test.c CuAssertIntEquals(T, "copied object not still PN_TUSER", ptr->vt, PN_TUSER); CuAssertIntEquals 76 test/api/p2-test.c CuAssertIntEquals(T, "tuple length is off", CuAssertIntEquals 87 test/api/p2-test.c CuAssertIntEquals(T, "tuple length is off", CuAssertIntEquals 103 test/api/p2-test.c CuAssertIntEquals(T, "calling closure as c func", 8, PN_INT(num)); CuAssertIntEquals 75 test/api/potion-test.c CuAssertIntEquals(T, "tuple length is off", CuAssertIntEquals 86 test/api/potion-test.c CuAssertIntEquals(T, "tuple length is off", CuAssertIntEquals 94 test/api/potion-test.c CuAssertIntEquals(T, "len=2", 2, PN_INT(PN_TUPLE_LEN(sig))); CuAssertIntEquals 95 test/api/potion-test.c CuAssertIntEquals(T, "arity=2", 2, potion_sig_arity(P, sig)); CuAssertIntEquals 102 test/api/potion-test.c CuAssertIntEquals(T, "num1=N", 'N', CuAssertIntEquals 106 test/api/potion-test.c CuAssertIntEquals(T, "num2=N", 'N', CuAssertIntEquals 112 test/api/potion-test.c CuAssertIntEquals(T, "arity=2", 2, potion_sig_arity(P, sig)); CuAssertIntEquals 120 test/api/potion-test.c CuAssertIntEquals(T, "arity=3", 3, potion_sig_arity(P, sig)); CuAssertIntEquals 136 test/api/potion-test.c CuAssertIntEquals(T, "arity nil", 0, potion_sig_arity(P, PN_NIL)); CuAssertIntEquals 139 test/api/potion-test.c CuAssertIntEquals(T, "arity x:=1", 1, potion_sig_arity(P, potion_sig(P, "x:=1"))); CuAssertIntEquals 140 test/api/potion-test.c CuAssertIntEquals(T, "arity |x:=1", 1, potion_sig_arity(P, potion_sig(P, "|x:=1"))); CuAssertIntEquals 141 test/api/potion-test.c CuAssertIntEquals(T, "arity x|y:=1", 2, potion_sig_arity(P, potion_sig(P, "x|y:=1"))); CuAssertIntEquals 149 test/api/potion-test.c CuAssertIntEquals(T, "arity f1", 2, potion_sig_arity(P, f1->sig)); CuAssertIntEquals 154 test/api/potion-test.c CuAssertIntEquals(T, "sig arity f2", 2, potion_sig_arity(P, f2->sig)); CuAssertIntEquals 156 test/api/potion-test.c CuAssertIntEquals(T, "cl arity f2", 2, PN_INT(potion_closure_arity(P,0,p2))); CuAssertIntEquals 171 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func", 8, PN_INT(num)); CuAssertIntEquals 176 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func (opt)", 8, PN_INT(num)); CuAssertIntEquals 178 test/api/potion-test.c CuAssertIntEquals(T, "optional num = 0", 3, PN_INT(num)); CuAssertIntEquals 183 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func (default)", 8, PN_INT(num)); CuAssertIntEquals 185 test/api/potion-test.c CuAssertIntEquals(T, "default num = 1", 4, PN_INT(num)); CuAssertIntEquals 193 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func (jit)", 8, PN_INT(num)); CuAssertIntEquals 201 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func (jit+opt)", 8, PN_INT(num)); CuAssertIntEquals 209 test/api/potion-test.c CuAssertIntEquals(T, "calling closure as c func (jit+default)", 8, PN_INT(num));