mirror of
https://github.com/XRPLF/clio.git
synced 2025-12-06 17:27:58 +00:00
@@ -77,7 +77,7 @@ TEST_F(ValueViewTest, DifferentIntegerTest)
|
||||
|
||||
TEST_F(ValueViewTest, IntegerAsDoubleTypeValue)
|
||||
{
|
||||
auto const cv = ConfigValue{ConfigType::Double}.defaultValue(432).withConstraint(validatePositiveDouble);
|
||||
auto const cv = ConfigValue{ConfigType::Double}.defaultValue(432).withConstraint(gValidatePositiveDouble);
|
||||
ValueView const vv{cv};
|
||||
auto const doubleVal = vv.asFloat();
|
||||
auto const floatVal = vv.asDouble();
|
||||
|
||||
Reference in New Issue
Block a user