Home
last modified time | relevance | path

Searched refs:sec32 (Results 1 – 1 of 1) sorted by relevance

/third_party/boost/libs/chrono/test/duration/
Drounding_pass.cpp42 typedef duration<boost::int32_t> sec32; in test_floor() typedef
44 BOOST_TEST_EQ( sec32(-999000000), floor<sec32>( sec32_m1ms(-1000000000) ) ); in test_floor()
45 BOOST_TEST_EQ( sec32( 999000000), floor<sec32>( sec32_m1ms( 1000000000) ) ); in test_floor()
66 typedef duration<boost::int32_t> sec32; in test_ceil() typedef
68 BOOST_TEST_EQ( sec32(-999000000), ceil<sec32>( sec32_m1ms(-1000000000) ) ); in test_ceil()
69 BOOST_TEST_EQ( sec32( 999000000), ceil<sec32>( sec32_m1ms( 1000000000) ) ); in test_ceil()
91 typedef duration<boost::int32_t> sec32; in test_round() typedef
93 BOOST_TEST_EQ( sec32(-999000000), round<sec32>( sec32_m1ms(-1000000000) ) ); in test_round()
94 BOOST_TEST_EQ( sec32( 999000000), round<sec32>( sec32_m1ms( 1000000000) ) ); in test_round()