Skip to content

Commit 021bf2e

Browse files
committed
more tests
1 parent 27e57d2 commit 021bf2e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/datatype/tests_time_types.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,9 @@ TEST_CASE("datatype gYear") {
119119

120120
rdf4cpp::OptionalTimezone tz = std::nullopt;
121121
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{500}, tz), "0500", std::partial_ordering::equivalent);
122+
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{1500}, tz), "1500", std::partial_ordering::equivalent);
123+
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{-500}, tz), "-500", std::partial_ordering::equivalent);
124+
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{42500}, tz), "42500", std::partial_ordering::equivalent);
122125
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{500}, tz), "0501", std::partial_ordering::less);
123126
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{500}, Timezone{std::chrono::hours{1}}), "0500+01:00", std::partial_ordering::equivalent);
124127
basic_test<datatypes::xsd::GYear>(std::make_pair(RDFYear{500}, Timezone{std::chrono::minutes{-65}}), "0500-01:05", std::partial_ordering::equivalent);

0 commit comments

Comments
 (0)