Searched refs:Y2K (Results 1 – 1 of 1) sorted by relevance
/Zephyr-latest/tests/drivers/rtc/rtc_api/src/ |
D | test_y2k.c | 28 Y2K, in ZTEST() enumerator 41 [Y2K] = RTC_TEST_STOP_TIME, in ZTEST() 58 zassert_ok(rtc_get_time(rtc, &rtm[Y2K])); in ZTEST() 61 zassert_equal(rtm[Y2K].tm_year + 1900, 2000, "wrong year: %d", rtm[Y2K].tm_year + 1900); in ZTEST() 62 zassert_equal(rtm[Y2K].tm_mon, 0, "wrong month: %d", rtm[Y2K].tm_mon); in ZTEST() 63 zassert_equal(rtm[Y2K].tm_mday, 1, "wrong day-of-month: %d", rtm[Y2K].tm_mday); in ZTEST() 64 zassert_true(rtm[Y2K].tm_yday == 0 || rtm[Y2K].tm_yday == -1, "wrong day-of-year: %d", in ZTEST() 65 rtm[Y2K].tm_yday); in ZTEST() 66 zassert_true(rtm[Y2K].tm_wday == 6 || rtm[Y2K].tm_wday == -1, "wrong day-of-week: %d", in ZTEST() 67 rtm[Y2K].tm_wday); in ZTEST() [all …]
|