33 BOOST_CHECK_EQUAL(BW_423.
get_year(), 423);
35 BOOST_CHECK_EQUAL(YW_123.
get_year(), 123);
37 BOOST_CHECK_EQUAL(BF_109.
get_year(), 109);
39 BOOST_CHECK_EQUAL(AF_928.
get_year(), 928);
49 irdya_date BW_34(wesnoth_epoch::type::before_wesnoth, 34), BW_12(wesnoth_epoch::type::before_wesnoth, 12), YW_40(wesnoth_epoch::type::wesnoth, 40), YW_52(wesnoth_epoch::type::wesnoth, 52);
50 irdya_date BF_29(wesnoth_epoch::type::before_fall, 29), BF_42(wesnoth_epoch::type::before_fall, 42), AF_12(wesnoth_epoch::type::after_fall, 12), AF_102(wesnoth_epoch::type::after_fall, 102), Y0;
52 std::vector<std::pair<irdya_date, irdya_date>> test_cases {
96 for(
const auto& pair : test_cases) {
97 BOOST_CHECK(pair.first < pair.second);
98 BOOST_CHECK(!(pair.second < pair.first));