Debian Codegraph @

tests/assertion_messages_tests.expected

raw
1 Running "assertion_messages_tests" (7 tests)...
2 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_actual_with_percent
3 Expected [strlen("%d")] to [equal] [3]
4 actual value: [2]
5 expected value: [3]
6
7 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_compare_area_to_null
8 Wanted to compare contents of [null_pointer] but it had a value of NULL.
9 If you want to explicitly check for null, use the is_null constraint instead.
10
11 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_compare_null_to_area
12 Wanted to compare contents with [area],
13 but NULL was used for the pointer we wanted to compare to.
14 If you want to explicitly check for null, use the is_null constraint instead.
15
16 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_comparing_content_with_negative_length
17 Wanted to compare contents with [something],
18 but [-4] was given for the comparison size.
19
20 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_double_constraints_with_assert_that
21 Constraints of double type, such as [equal double],
22 should only be used with 'assert_that_double()' to ensure proper comparison.
23
24 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_double_constraints_with_assert_that
25 Expected [3] to [equal double] [3.1415926]
26
27 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_double_constraints_with_assert_that
28 Constraints of double type, such as [be less than double],
29 should only be used with 'assert_that_double()' to ensure proper comparison.
30
31 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_double_constraints_with_assert_that
32 Constraints of double type, such as [be greater than double],
33 should only be used with 'assert_that_double()' to ensure proper comparison.
34
35 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_double_constraints_with_assert_that
36 Expected [7] to [be greater than double] [3.1415926]
37
38 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_non_double_constraints_with_assert_that_double
39 Only constraints of double type should be used with 'assert_that_double()'.
40 Other types of constraints, such as [equal], will probably fail comparison.
41
42 assertion_messages_tests.c:000: Failure: AssertionMessage -> for_using_non_double_constraints_with_assert_that_double
43 Expected [3] to [equal] [3] within [8] significant figures
44 actual value: [3.000000]
45 expected value: [0.000000]
46
47 assertion_messages_tests.c:000: Failure: AssertionMessage -> return_value_constraints_are_not_allowed
48 Got constraint of type [return value],
49 but they are not allowed for assertions, only in mock expectations.
50
51 "AssertionMessage": 1 pass, 12 failures in 0ms.
52 Completed "assertion_messages_tests": 1 pass, 12 failures in 0ms.