fix indexations: test.EMGLLF without errors (but R <> C)
[valse.git] / src / test / test_utils.h
CommitLineData
2d22ed81
BA
1// Check if array == refArray
2void compareArray(const char* ID, const void* array, const void* refArray, int size, int isInteger);
3
4void compareArray_real(const char* ID, const void* array, const void* refArray, int size);
5
6void compareArray_int(const char* ID, const void* array, const void* refArray, int size);
7
8// Read array by columns (as in MATLAB) and return by-rows encoding
9void* readArray(const char* fileName, int isInteger);
10
11int* readArray_int(const char* fileName);
12
13float* readArray_real(const char* fileName);
14
15int read_int(const char* fileName);
16
17float read_real(const char* fileName);