Binary File Reading Unit Test.
More...
#include <cstdio>
#include <iostream>
#include <fstream>
#include "global.h"
#include "utils/binary.h"
Go to the source code of this file.
|
static void | fillFile (const char *name) |
|
static int | test (const char *name) |
|
int | main () |
|
|
static const char | testData [] |
|
static float | f1 = 3.1415926f |
|
static float | f2 = 42.23f |
|
Binary File Reading Unit Test.
- Author
- xythobuz
Definition in file binary.cpp.
static void fillFile |
( |
const char * |
name | ) |
|
|
static |
static int test |
( |
const char * |
name | ) |
|
|
static |
Initial value:= {
-1,
-1, -1,
42, 42, 42, 42,
-1, -1, -1, -1, -1, 0, 0, 0,
-1,
92, -2,
102, -3, -1, -1,
66, 66, 66, 66, 66, 66, 66, 66
}
Definition at line 15 of file binary.cpp.