[NFC][libc++][chrono] Improves test coverage.
authorMark de Wever <koraq@xs4all.nl>
Thu, 1 Dec 2022 17:56:40 +0000 (18:56 +0100)
committerMark de Wever <koraq@xs4all.nl>
Wed, 21 Dec 2022 16:53:23 +0000 (17:53 +0100)
commit0df9a72f283a5c2b6f0435bd988e1fd70ed5b477
treedaf70d8605f079a49bb1fb76236bb7d3eada52e2
parent2b1d45b227bdbb1f59934905a5204d16ea0d378b
[NFC][libc++][chrono] Improves test coverage.

The function year_month_weekday::sys_days should work properly with a
weekday index of 0 per [time.cal.ymwd.members]/20. This adds a test for
this case.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D139126
libcxx/test/std/time/time.cal/time.cal.ymwd/time.cal.ymwd.members/op.sys_days.pass.cpp