Searched refs:dynamic_closed (Results 1 – 1 of 1) sorted by relevance
159 constrained_type<int, constraints::closed_interval<int>> dynamic_closed variable161 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);