Home
last modified time | relevance | path

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

/third_party/boost/libs/chrono/test/io/
Dduration_output.cpp20 void test_good_symbol(const char* str, D d) in test_good_symbol() function
92 test_good_symbol("5000 h", hours(5000)); in main()
94 test_good_symbol("5000 min", minutes(5000)); in main()
96 test_good_symbol("5000 m", minutes(5000)); in main()
98 test_good_symbol("5000 s", seconds(5000)); in main()
99 test_good_symbol("5000 ms", milliseconds(5000)); in main()
100 test_good_symbol("5000 ns", nanoseconds(5000)); in main()
101 test_good_symbol("5000 ds", duration<boost::int_least64_t, deci> (5000)); in main()
102 test_good_symbol("5000 [1/30]s", duration<boost::int_least64_t, ratio<1, 30> > (5000)); in main()
Dtime_point_output.cpp44 void test_good_symbol(const char* str, D d) in test_good_symbol() function
152 test_good_symbol<Clock> ("2 h", hours(2)); in check_all()
154 test_good_symbol<Clock>("2 min", minutes(2)); in check_all()
156 test_good_symbol<Clock> ("2 m", minutes(2)); in check_all()
158 test_good_symbol<Clock> ("2 s", seconds(2)); in check_all()
159 test_good_symbol<Clock> ("2 ms", milliseconds(2)); in check_all()
160 test_good_symbol<Clock> ("2 ns", nanoseconds(2)); in check_all()
161 test_good_symbol<Clock> ("2 ds", duration<boost::int_least64_t, deci> (2)); in check_all()
162 test_good_symbol<Clock> ("2 [1/30]s", duration<boost::int_least64_t, ratio<1, 30> > (2)); in check_all()