summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/tests/libntp/lfptostr.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ntp/tests/libntp/lfptostr.c')
-rw-r--r--contrib/ntp/tests/libntp/lfptostr.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/contrib/ntp/tests/libntp/lfptostr.c b/contrib/ntp/tests/libntp/lfptostr.c
index 142e6c7..ed32853 100644
--- a/contrib/ntp/tests/libntp/lfptostr.c
+++ b/contrib/ntp/tests/libntp/lfptostr.c
@@ -20,6 +20,7 @@ static const int HALF_PROMILLE_UP = 2147484; /* slightly more than 0.0005 */
static const int HALF_PROMILLE_DOWN = 2147483; /* slightly less than 0.0005 */
+void setUp(void);
void test_PositiveInteger(void);
void test_NegativeInteger(void);
void test_PositiveIntegerWithFraction(void);
@@ -33,6 +34,14 @@ void test_MillisecondsRoundingDown(void);
void test_UnsignedInteger(void);
+void
+setUp(void)
+{
+ init_lib();
+
+ return;
+}
+
void
test_PositiveInteger(void) {
OpenPOWER on IntegriCloud