Home
last modified time | relevance | path

Searched refs:dynamic_closed (Results 1 – 1 of 1) sorted by relevance

/dports/cad/librepcb/librepcb-0.1.6/libs/type_safe/test/
H A Dbounded_type.cpp159 constrained_type<int, constraints::closed_interval<int>> dynamic_closed variable
161 static_assert(std::is_same<decltype(dynamic_closed), bounded_type<int, true, true>>::value, "");
162 REQUIRE(dynamic_closed.get_value() == 10);
163 REQUIRE(dynamic_closed.get_constraint().get_lower_bound() == 0);
164 REQUIRE(dynamic_closed.get_constraint().get_upper_bound() == 42);