Searched refs:ni_dur (Results 1 – 2 of 2) sorted by relevance
58 date_duration ni_dur(neg_infin); in test_date_duration() local60 check("pos_inf + neg_inf", (pi_dur + ni_dur) == nd_dur); in test_date_duration()62 check("neg_inf / integer", (ni_dur / 3) == ni_dur); in test_date_duration()64 check("unary-", date_duration(-pi_dur) == ni_dur); in test_date_duration()
215 time_duration pi_dur(pos_infin), ni_dur(neg_infin), ndt_dur(not_a_date_time); in main() local216 check("+infin + -infin", pi_dur + ni_dur == ndt_dur); in main()220 check("unary-", -pi_dur == ni_dur); in main()221 check("-infin less than +infin", ni_dur < pi_dur); in main()222 check("-infin less than duration", ni_dur < td_12); in main()227 result = to_simple_string(ni_dur); in main()