improve project structure
[epclust.git] / code / stage1 / test / Util / t.utils.c
similarity index 89%
rename from code/test/stage1/Util/t.utils.c
rename to code/stage1/test/Util/t.utils.c
index 254ef00..1abed91 100644 (file)
@@ -8,7 +8,7 @@
 //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);
@@ -28,7 +28,7 @@ void t_utils1()
 //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);