Searched refs:ym2 (Results 1 – 7 of 7) sorted by relevance
81 year_month_weekday ym2 = months{i} + ym; in main()83 assert(static_cast<int>(ym2.year()) == 1234); in main()85 assert(ym2.month() == month(1 + i)); in main()87 assert(ym2.weekday() == Tuesday); in main()89 assert(ym2.index() == 3); in main()90 assert(ym1 == ym2); in main()107 year_month_weekday ym2 = years{i} + ym; in main()109 assert(static_cast<int>(ym2.year()) == i + 1234); in main()111 assert(ym2.month() == January); in main()113 assert(ym2.weekday() == Tuesday); in main()[all …]
77 year_month_weekday_last ym2 = months{i} + ym; in main()79 assert(ym2.year() == year(1234)); in main()81 assert(ym2.month() == month(1 + i)); in main()83 assert(ym2.weekday() == Tuesday); in main()85 assert(ym2.weekday_last() == weekday_last{Tuesday}); in main()86 assert(ym1 == ym2); in main()103 year_month_weekday_last ym2 = years{i} + ym; in main()105 assert(ym2.year() == year(1234 + i)); in main()107 assert(ym2.month() == January); in main()109 assert(ym2.weekday() == Tuesday); in main()[all …]
77 year_month_day ym2 = months{i} + ym; in main()79 assert(static_cast<int>(ym2.year()) == 1234); in main()81 assert(ym2.month() == month(1 + i)); in main()83 assert(ym2.day() == day{12}); in main()84 assert(ym1 == ym2); in main()101 year_month_day ym2 = years{i} + ym; in main()103 assert(static_cast<int>(ym2.year()) == i + 1234); in main()105 assert(ym2.month() == std::chrono::January); in main()107 assert(ym2.day() == day{12}); in main()108 assert(ym1 == ym2); in main()
76 year_month ym2 = years{i} + ym; in main()78 assert(static_cast<int>(ym2.year()) == i + 1234); in main()80 assert(ym2.month() == std::chrono::January); in main()81 assert(ym1 == ym2); in main()98 year_month ym2 = months{i} + ym; in main()100 assert(static_cast<int>(ym2.year()) == 1234); in main()102 assert(ym2.month() == month(1 + i)); in main()103 assert(ym1 == ym2); in main()
91 year_month_day_last ym2 = months{i} + ym; in main()93 assert(static_cast<int>(ym2.year()) == 1234); in main()95 assert(ym2.month() == month(1 + i)); in main()96 assert(ym1 == ym2); in main()113 year_month_day_last ym2 = years{i} + ym; in main()115 assert(static_cast<int>(ym2.year()) == i + 1234); in main()117 assert(ym2.month() == std::chrono::January); in main()118 assert(ym1 == ym2); in main()
48 constexpr year_month ym2{year{2018}, month{}}; in main() local49 static_assert( ym2.year() == year{2018}, ""); in main()50 static_assert( ym2.month() == month{}, ""); in main()51 static_assert(!ym2.ok(), ""); in main()
26 const unsigned ym2 = h - mw - 1; in get_test_pattern_pixel() local29 if (x == xm1 || x == xm2 || y == ym1 || y == ym2) in get_test_pattern_pixel()35 else if ((x == 0 || x == w - 1) && (y < ym1 || y > ym2)) in get_test_pattern_pixel()41 else if (x < xm1 && (y > ym1 && y < ym2)) in get_test_pattern_pixel()47 else if (x > xm2 && (y > ym1 && y < ym2)) in get_test_pattern_pixel()50 else if (y > ym2 && (x > xm1 && x < xm2)) in get_test_pattern_pixel()53 else if (x > xm1 && x < xm2 && y > ym1 && y < ym2) { in get_test_pattern_pixel()