diff options
Diffstat (limited to 'contrib/ntp/tests/libntp/g_uglydate.cpp')
-rw-r--r-- | contrib/ntp/tests/libntp/g_uglydate.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/contrib/ntp/tests/libntp/g_uglydate.cpp b/contrib/ntp/tests/libntp/g_uglydate.cpp deleted file mode 100644 index 12aa002..0000000 --- a/contrib/ntp/tests/libntp/g_uglydate.cpp +++ /dev/null @@ -1,18 +0,0 @@ -#include "g_libntptest.h" - -extern "C" { -#include "ntp_fp.h" -}; - -class uglydateTest : public libntptest { -protected: - static const u_int32 HALF = 2147483648UL; -}; - -TEST_F(uglydateTest, ConstantDateTime) { - l_fp time = {3485080800UL, HALF}; // 2010-06-09 14:00:00.5 - - EXPECT_STREQ("3485080800.500000 10:159:14:00:00.500", - uglydate(&time)); -} - |