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

Function test_decimal_equal

arrow/tests/array_equal.rs:608–615  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

606
607#[test]
608fn test_decimal_equal() {
609 let a = create_decimal_array(vec![Some(8_887_000_000), Some(-8_887_000_000)]);
610 let b = create_decimal_array(vec![Some(8_887_000_000), Some(-8_887_000_000)]);
611 test_equal(&a, &b, true);
612
613 let b = create_decimal_array(vec![Some(15_887_000_000), Some(-8_887_000_000)]);
614 test_equal(&a, &b, false);
615}
616
617// Test the case where null_count > 0
618#[test]

Callers

nothing calls this directly

Calls 2

test_equalFunction · 0.85
create_decimal_arrayFunction · 0.70

Tested by

no test coverage detected