#include <iostream>
#include "PSTime/TimeUtils.h"
#include <boost/test/included/unit_test.hpp>
Go to the source code of this file.
Defines | |
#define | BOOST_TEST_MODULE testTimeUtils |
Functions | |
int | printTimeDiff (int year, int month, int day) |
BOOST_AUTO_TEST_CASE (test_1) | |
BOOST_AUTO_TEST_CASE (test_2) | |
BOOST_AUTO_TEST_CASE (test_3) | |
BOOST_AUTO_TEST_CASE (test_4) |
#define BOOST_TEST_MODULE testTimeUtils |
Definition at line 23 of file testTimeUtils.cpp.
BOOST_AUTO_TEST_CASE | ( | test_4 | ) |
BOOST_AUTO_TEST_CASE | ( | test_3 | ) |
BOOST_AUTO_TEST_CASE | ( | test_2 | ) |
BOOST_AUTO_TEST_CASE | ( | test_1 | ) |
int printTimeDiff | ( | int | year, | |
int | month, | |||
int | day | |||
) |
Simple test suite for module testTimeUtils. See http://www.boost.org/doc/libs/1_36_0/libs/test/doc/html/index.html
Definition at line 33 of file testTimeUtils.cpp.
References PSTime::TimeUtils::timegm().
Referenced by BOOST_AUTO_TEST_CASE().