projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
git-version-gen: don't let "prefix" envvar cause trouble
[gnulib.git]
/
tests
/
test-fabs.c
diff --git
a/tests/test-fabs.c
b/tests/test-fabs.c
index
81c5c7d
..
c5566cf
100644
(file)
--- a/
tests/test-fabs.c
+++ b/
tests/test-fabs.c
@@
-23,10
+23,17
@@
#include "signature.h"
SIGNATURE_CHECK (fabs, double, (double));
#include "signature.h"
SIGNATURE_CHECK (fabs, double, (double));
+#include <string.h>
+
#include "macros.h"
#include "macros.h"
+#include "minus-zero.h"
-volatile double x;
-double y;
+#define DOUBLE double
+#define L_(literal) literal
+#define MINUS_ZERO minus_zerod
+#define FABS fabs
+#define RANDOM randomd
+#include "test-fabs.h"
int
main ()
int
main ()
@@
-41,5
+48,7
@@
main ()
y = fabs (x);
ASSERT (y == 0.6);
y = fabs (x);
ASSERT (y == 0.6);
+ test_function ();
+
return 0;
}
return 0;
}