Home
last modified time | relevance | path

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

/third_party/boost/libs/date_time/test/posix_time/
Dtestduration.cpp215 time_duration pi_dur(pos_infin), ni_dur(neg_infin), ndt_dur(not_a_date_time); in main() local
216 check("+infin + -infin", pi_dur + ni_dur == ndt_dur); in main()
217 check("infin / int", pi_dur / 3 == pi_dur); in main()
218 check("infin + duration", pi_dur + td_12 == pi_dur); in main()
219 check("infin - duration", pi_dur - td_12 == pi_dur); in main()
220 check("unary-", -pi_dur == ni_dur); in main()
221 check("-infin less than +infin", ni_dur < pi_dur); in main()
223 check("+infin greater than duration", pi_dur > td_12); in main()
225 result = to_simple_string(pi_dur); in main()
/third_party/boost/libs/date_time/test/gregorian/
Dtestdate_duration.cpp57 date_duration pi_dur(pos_infin); in test_date_duration() local
60 check("pos_inf + neg_inf", (pi_dur + ni_dur) == nd_dur); in test_date_duration()
63 check("inf + dur", (pi_dur + hundred) == pi_dur); in test_date_duration()
64 check("unary-", date_duration(-pi_dur) == ni_dur); in test_date_duration()