mirror of https://github.com/flysand7/ciabatta.git
I dont know what that is but i need to push it
This commit is contained in:
parent
30b0423e0a
commit
da0f34325c
|
@ -739,7 +739,7 @@ int main(int argc, char **argv) {
|
||||||
file = fopen("test_folder/file2", "rb");
|
file = fopen("test_folder/file2", "rb");
|
||||||
TEST(file != NULL, "Created file is NULL");
|
TEST(file != NULL, "Created file is NULL");
|
||||||
int read_numbers[10];
|
int read_numbers[10];
|
||||||
int cnt_read = fread(numbers, sizeof(int), 10, file);
|
int cnt_read = fread(read_numbers, sizeof(int), 10, file);
|
||||||
TEST(cnt_read == 10, "fread didn't read 10 objects");
|
TEST(cnt_read == 10, "fread didn't read 10 objects");
|
||||||
bool all_ok = true;
|
bool all_ok = true;
|
||||||
for(int i = 0; i != 10; ++i) {
|
for(int i = 0; i != 10; ++i) {
|
||||||
|
|
Loading…
Reference in New Issue