Lines Matching refs:ATF_REQUIRE
110 ATF_REQUIRE(datetime::delta() == datetime::delta());
111 ATF_REQUIRE(datetime::delta() == datetime::delta(0, 0));
112 ATF_REQUIRE(datetime::delta(1, 2) == datetime::delta(1, 2));
114 ATF_REQUIRE(!(datetime::delta() == datetime::delta(0, 1)));
115 ATF_REQUIRE(!(datetime::delta() == datetime::delta(1, 0)));
116 ATF_REQUIRE(!(datetime::delta(1, 2) == datetime::delta(2, 1)));
123 ATF_REQUIRE(!(datetime::delta() != datetime::delta()));
124 ATF_REQUIRE(!(datetime::delta() != datetime::delta(0, 0)));
125 ATF_REQUIRE(!(datetime::delta(1, 2) != datetime::delta(1, 2)));
127 ATF_REQUIRE(datetime::delta() != datetime::delta(0, 1));
128 ATF_REQUIRE(datetime::delta() != datetime::delta(1, 0));
129 ATF_REQUIRE(datetime::delta(1, 2) != datetime::delta(2, 1));
138 ATF_REQUIRE(delta() == delta() + delta());
139 ATF_REQUIRE(delta(0, 10) == delta() + delta(0, 10));
140 ATF_REQUIRE(delta(10, 0) == delta(10, 0) + delta());
142 ATF_REQUIRE(delta(1, 234567) == delta(0, 1234567) + delta());
143 ATF_REQUIRE(delta(12, 34) == delta(10, 20) + delta(2, 14));
155 ATF_REQUIRE(delta(3, 5) == d);
160 ATF_REQUIRE(delta(4, 7) == d);
164 ATF_REQUIRE(delta(4, 7) == (d += delta(3, 5)));
241 ATF_REQUIRE(::gmtime_r(&just_before, &data) != 0);
242 ATF_REQUIRE(::strftime(buf, sizeof(buf), "%Y-%m-%d", &data) != 0);
245 ATF_REQUIRE(now.strftime("%Z") == "GMT" || now.strftime("%Z") == "UTC");
255 ATF_REQUIRE(first.to_microseconds() != second.to_microseconds());
305 ATF_REQUIRE(datetime::timestamp::from_microseconds(1291970750123456LL) ==
313 ATF_REQUIRE(datetime::timestamp::from_microseconds(1291970750123456LL) !=
328 ATF_REQUIRE(datetime::delta(0, 0) == ts1 - ts1);
329 ATF_REQUIRE(datetime::delta(0, 12) == ts2 - ts1);
330 ATF_REQUIRE(datetime::delta(100, 0) == ts3 - ts1);
331 ATF_REQUIRE(datetime::delta(99, 999988) == ts3 - ts2);