@@ -82,31 +82,31 @@ extern "C" {
8282 * @param actual The bitwise expression to be evaluated.
8383 */
8484#define ASSUME_ITS_BITWISE_TRUE (actual ) \
85- FOSSIL_TEST_ASSUME((actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %s to be true", (actual) ? "true" : "false" ))
85+ FOSSIL_TEST_ASSUME((actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %d to be true", (actual) ? 1 : 0 ))
8686
8787/**
8888 * @brief Assumes that the given bitwise expression is false.
8989 *
9090 * @param actual The bitwise expression to be evaluated.
9191 */
9292#define ASSUME_ITS_BITWISE_FALSE (actual ) \
93- FOSSIL_TEST_ASSUME(!(actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %s to be false", (actual) ? "true" : "false" ))
93+ FOSSIL_TEST_ASSUME(!(actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %d to be false", (actual) ? 1 : 0 ))
9494
9595/**
9696 * @brief Assumes that the given bitwise expression is not true.
9797 *
9898 * @param actual The bitwise expression to be evaluated.
9999 */
100100#define ASSUME_NOT_BITWISE_TRUE (actual ) \
101- FOSSIL_TEST_ASSUME(!(actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %s to not be true", (actual) ? "true" : "false" ))
101+ FOSSIL_TEST_ASSUME(!(actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %d to not be true", (actual) ? 1 : 0 ))
102102
103103/**
104104 * @brief Assumes that the given bitwise expression is not false.
105105 *
106106 * @param actual The bitwise expression to be evaluated.
107107 */
108108#define ASSUME_NOT_BITWISE_FALSE (actual ) \
109- FOSSIL_TEST_ASSUME((actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %s to not be false", (actual) ? "true" : "false" ))
109+ FOSSIL_TEST_ASSUME((actual), _FOSSIL_TEST_ASSUME_MESSAGE("Expected " #actual " of value %d to not be false", (actual) ? 1 : 0 ))
110110
111111/**
112112 * @brief Assumes that the given value is less than the expected value (bitwise).
0 commit comments