return mock_type(int);
}
-size_t __wrap_fwrite_unlocked(const void *ptr, size_t size, size_t n, FILE *stream) {
+size_t __wrap_fwrite_unlocked(const void *ptr, size_t size, size_t nmemb, FILE *stream) {
- return mock_type(size_t);
+ const bool failure = mock_type(bool);
+
+ if (failure) {
+ return mock_type(int);
+ }
+
+ return nmemb;
}
ssize_t __wrap_write(int fd, const void *buf, size_t count) {
extern void __wrap_clearerr_unlocked(FILE *stream);
extern int __wrap_ferror_unlocked(FILE *stream);
-extern size_t __wrap_fwrite_unlocked(const void *ptr, size_t size, size_t n, FILE *stream);
+extern size_t __wrap_fwrite_unlocked(const void *ptr, size_t size, size_t nmemb, FILE *stream);
extern ssize_t __wrap_write(int fd, const void *buf, size_t count);
#ifdef __cplusplus
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character(test.string[0], stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, 1);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_character(test.string[0], stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character_safely(test.string[0], stdout);
}
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character_safely((f_char_t) 0x7f, stdout);
}
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character_safely((f_char_t) F_utf_byte_1_d, stdout);
{
const f_string_static_t alternate = macro_f_string_static_t_initialize("蠇", 0, 2);
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character_safely(alternate.string[0], stdout);
}
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_character_safely(test.string[0], stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("蠇", 0, 2);
{
- will_return(__wrap_fwrite_unlocked, 1);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_character_safely(test.string[0], stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, f_print_sequence_delete_s.used);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_character_safely((f_char_t) 0x7f, stdout);
}
{
- will_return(__wrap_fwrite_unlocked, f_print_sequence_unknown_s.used);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_character_safely((f_char_t) F_utf_byte_1_d, stdout);
}
{
- will_return(__wrap_fwrite_unlocked, 1);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_character_safely(test.string[0], stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic(test, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_partial(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_partial(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_partial_raw(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_partial_raw(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_partial_raw_safely(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_partial_raw_safely(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_partial_safely(test, partial, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_partial_safely(test, partial, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_raw(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_raw(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_raw_safely(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_raw_safely(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_dynamic_safely(test, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_dynamic_safely(test, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except(test.string, 2, test.used, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except(test.string, 1, test.used, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic(test, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic(test, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic(test, except, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_partial(test, partial, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial(test, partial, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial(test, partial, except, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_partial_raw(test, partial, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_raw(test, partial, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_raw(test, partial, except, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_partial_raw_safely(test, partial, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_raw_safely(test, partial, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_raw_safely(test, partial, except, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_partial_safely(test, partial, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_safely(test, partial, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_partial_safely(test, partial, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_raw(test, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_raw(test, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_raw(test, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_raw_safely(test, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_raw_safely(test, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_raw_safely(test, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_dynamic_safely(test, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_safely(test, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_dynamic_safely(test, except, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in(test.string, 2, test.used, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in(test.string, 1, test.used, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic(test, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic(test, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic(test, except, range, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_partial(test, partial, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial(test, partial, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial(test, partial, except, range, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_partial_raw(test, partial, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_raw(test, partial, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_raw(test, partial, except, range, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_partial_raw_safely(test, partial, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_raw_safely(test, partial, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_raw_safely(test, partial, except, range, stdout);
const f_string_range_t partial = macro_f_string_range_t_initialize(0, 2);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_partial_safely(test, partial, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_safely(test, partial, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_partial_safely(test, partial, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_raw(test, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_raw(test, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_raw(test, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_raw_safely(test, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_raw_safely(test, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_raw_safely(test, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_dynamic_safely(test, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_safely(test, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_dynamic_safely(test, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_raw(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw(test.string, 2, test.used, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw(test.string, 1, test.used, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_raw_safely(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw_safely(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw_safely(test.string, 2, test.used, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_raw_safely(test.string, 1, test.used, except, range, stdout);
const f_string_ranges_t range = f_string_ranges_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_in_safely(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_safely(test.string, 0, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
const f_string_ranges_t range = f_string_ranges_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_safely(test.string, 2, test.used, except, range, stdout);
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
const f_string_ranges_t range = macro_f_string_ranges_t_initialize(ranges, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_in_safely(test.string, 1, test.used, except, range, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_raw(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw(test.string, 2, test.used, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw(test.string, 1, test.used, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_raw_safely(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw_safely(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw_safely(test.string, 2, test.used, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_raw_safely(test.string, 1, test.used, except, stdout);
const f_array_lengths_t except = f_array_lengths_t_initialize;
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_except_safely(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_safely(test.string, 0, test.used, except, stdout);
{
const f_array_lengths_t except = f_array_lengths_t_initialize;
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_safely(test.string, 2, test.used, except, stdout);
f_array_length_t lengths[] = { 3 };
const f_array_lengths_t except = macro_f_array_lengths_t_initialize(lengths, 0, 1);
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_except_safely(test.string, 1, test.used, except, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_raw(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_raw(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_raw_safely(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_raw_safely(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_raw_terminated(test.string, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_raw_terminated(test.string, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_safely(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_safely(test.string, test.used, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_safely_terminated(test.string, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_safely_terminated(test.string, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
+ will_return(__wrap_fwrite_unlocked, true);
will_return(__wrap_fwrite_unlocked, 0);
- will_return(__wrap_ferror_unlocked, 1);
+ will_return(__wrap_ferror_unlocked, true);
const f_status_t status = f_print_terminated(test.string, stdout);
const f_string_static_t test = macro_f_string_static_t_initialize("test", 0, 4);
{
- will_return(__wrap_fwrite_unlocked, test.used);
- will_return(__wrap_ferror_unlocked, 0);
+ will_return(__wrap_fwrite_unlocked, false);
+ will_return(__wrap_ferror_unlocked, false);
const f_status_t status = f_print_terminated(test.string, stdout);