MCPcopy Create free account
hub / github.com/apache/arrow-rs / test_decimal_validation

Function test_decimal_validation

arrow/tests/array_validation.rs:1081–1088  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1079
1080#[test]
1081fn test_decimal_validation() {
1082 let mut builder = Decimal128Builder::with_capacity(4);
1083 builder.append_value(10000);
1084 builder.append_value(20000);
1085 let array = builder.finish();
1086
1087 array.into_data().validate_full().unwrap();
1088}
1089
1090#[test]
1091#[cfg(not(feature = "force_validate"))]

Callers

nothing calls this directly

Calls 4

validate_fullMethod · 0.80
append_valueMethod · 0.45
finishMethod · 0.45
into_dataMethod · 0.45

Tested by

no test coverage detected