Lines Matching refs:assert_true
38 assert_true(cbor_get_uint8(copy = cbor_copy(item)) == 10); in test_negints()
43 assert_true(cbor_get_uint16(copy = cbor_copy(item)) == 10); in test_negints()
48 assert_true(cbor_get_uint32(copy = cbor_copy(item)) == 10); in test_negints()
53 assert_true(cbor_get_uint64(copy = cbor_copy(item)) == 10); in test_negints()
68 assert_true(cbor_bytestring_add_chunk( in test_indef_bytestring()
91 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_indef_string()
105 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_def_array()
115 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_indef_array()
125 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_def_map()
138 assert_true(cbor_map_add(item, (struct cbor_pair){ in test_indef_map()
160 assert_true(cbor_is_null(copy = cbor_copy(item))); in test_ctrls()
167 assert_true(cbor_float_get_float2(copy = cbor_copy(item)) == in test_floats()
173 assert_true(cbor_float_get_float4(copy = cbor_copy(item)) == in test_floats()
179 assert_true(cbor_float_get_float8(copy = cbor_copy(item)) == in test_floats()
196 assert_true(cbor_bytestring_add_chunk( in test_bytestring_alloc_failure()
207 assert_true(cbor_bytestring_add_chunk( in test_bytestring_chunk_alloc_failure()
218 assert_true(cbor_bytestring_add_chunk( in test_bytestring_chunk_append_failure()
233 assert_true(cbor_bytestring_add_chunk( in test_bytestring_second_chunk_alloc_failure()
235 assert_true(cbor_bytestring_add_chunk( in test_bytestring_second_chunk_alloc_failure()
250 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_alloc_failure()
260 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_alloc_failure()
270 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_chunk_append_failure()
284 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("abc")))); in test_string_second_chunk_alloc_failure()
285 assert_true(cbor_string_add_chunk(item, cbor_move(cbor_build_string("def")))); in test_string_second_chunk_alloc_failure()
299 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_array_alloc_failure()
309 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_array_item_alloc_failure()
322 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_array_push_failure()
335 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(42)))); in test_array_second_item_alloc_failure()
336 assert_true(cbor_array_push(item, cbor_move(cbor_build_uint8(43)))); in test_array_second_item_alloc_failure()
349 assert_true( in test_map_alloc_failure()
361 assert_true( in test_map_key_alloc_failure()
375 assert_true( in test_map_value_alloc_failure()
389 assert_true( in test_map_add_failure()
403 assert_true( in test_map_second_key_failure()
406 assert_true(cbor_map_add( in test_map_second_key_failure()