projects
/
epclust.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
improve project structure
[epclust.git]
/
code
/
stage1
/
test
/
Util
/
t.utils.c
diff --git
a/code/test/stage1/Util/t.utils.c
b/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)
--- a/
code/test/stage1/Util/t.utils.c
+++ b/
code/stage1/test/Util/t.utils.c
@@
-8,7
+8,7
@@
//integers
void t_utils1()
{
//integers
void t_utils1()
{
- FILE* file = fopen("../data/test/integers.txt", "rb");
+ FILE* file = fopen("../
t
data/test/integers.txt", "rb");
int64_t x;
readInt(file, &x);
LUT_ASSERT(x == 1234);
int64_t x;
readInt(file, &x);
LUT_ASSERT(x == 1234);
@@
-28,7
+28,7
@@
void t_utils1()
//reals
void t_utils2()
{
//reals
void t_utils2()
{
- FILE* file = fopen("../data/test/reals.txt", "rb");
+ FILE* file = fopen("../
t
data/test/reals.txt", "rb");
Real x, tol = 1e-10;
readReal(file, &x);
LUT_ASSERT(fabs(x - 1234.056) < tol);
Real x, tol = 1e-10;
readReal(file, &x);
LUT_ASSERT(fabs(x - 1234.056) < tol);