Lines Matching full:assert
9 #include <assert.h>
41 assert(keystring != NULL); in test_interface()
42 assert(libder_obj_type_simple(keystring) == BT_BITSTRING); in test_interface()
45 assert(datasz == sizeof(pubdata)); in test_interface()
46 assert(memcmp(pubdata, data, datasz) == 0); in test_interface()
59 assert(root != NULL); in test_construction()
62 assert(params != NULL); in test_construction()
63 assert(libder_obj_append(root, params)); in test_construction()
66 assert(keystring != NULL); in test_construction()
67 assert(libder_obj_append(root, keystring)); in test_construction()
71 assert(obj != NULL); in test_construction()
72 assert(libder_obj_append(params, obj)); in test_construction()
75 assert(obj != NULL); in test_construction()
76 assert(libder_obj_append(params, obj)); in test_construction()
81 assert(out != NULL); in test_construction()
82 assert(outsz == bufsz); in test_construction()
83 assert(memcmp(out, buf, bufsz) == 0); in test_construction()
103 assert(fd >= 0); in main()
109 assert(error == 0); in main()
113 assert(buf != NULL); in main()
118 assert(readsz == bufsz); in main()
125 assert(root != NULL); in main()
126 assert(rootsz == bufsz); in main()
134 assert(out != NULL); in main()
135 assert(outsz == bufsz); in main()
137 assert(memcmp(buf, out, outsz) == 0); in main()