//integers
void t_utils1()
{
- FILE* file = fopen("../data/test/integers.txt", "rb");
+ FILE* file = fopen("../tdata/test/integers.txt", "rb");
int64_t x;
readInt(file, &x);
LUT_ASSERT(x == 1234);
//reals
void t_utils2()
{
- FILE* file = fopen("../data/test/reals.txt", "rb");
+ FILE* file = fopen("../tdata/test/reals.txt", "rb");
Real x, tol = 1e-10;
readReal(file, &x);
LUT_ASSERT(fabs(x - 1234.056) < tol);