Lines Matching refs:assert_true
29 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_float2()
30 assert_true(cbor_is_float(float_ctrl)); in test_float2()
31 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_16); in test_float2()
32 assert_true(cbor_float_get_float2(float_ctrl) == 65504.0F); in test_float2()
42 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_float4()
43 assert_true(cbor_is_float(float_ctrl)); in test_float4()
44 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_32); in test_float4()
45 assert_true(cbor_float_get_float4(float_ctrl) == 100000.0F); in test_float4()
56 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_float8()
57 assert_true(cbor_is_float(float_ctrl)); in test_float8()
58 assert_true(cbor_float_get_width(float_ctrl) == CBOR_FLOAT_64); in test_float8()
60 assert_true(cbor_float_get_float8(float_ctrl) == (double)1.0e+300); in test_float8()
62 assert_true(fabs(cbor_float_get_float(float_ctrl) - (double)1.0e+300) < eps); in test_float8()
71 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_null()
72 assert_true(cbor_is_null(float_ctrl)); in test_null()
81 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_undef()
82 assert_true(cbor_is_undef(float_ctrl)); in test_undef()
92 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_bool()
93 assert_true(cbor_is_bool(float_ctrl)); in test_bool()
96 assert_true(cbor_get_bool(float_ctrl)); in test_bool()
97 assert_true(isnan(cbor_float_get_float(float_ctrl))); in test_bool()
102 assert_true(cbor_isa_float_ctrl(float_ctrl)); in test_bool()
103 assert_true(cbor_is_bool(float_ctrl)); in test_bool()
104 assert_true(cbor_get_bool(float_ctrl)); in test_bool()
107 assert_true(isnan(cbor_float_get_float(float_ctrl))); in test_bool()