#![no_main] icu_benchmark_macros::instrument!();
use icu_benchmark_macros::println;
use icu_decimal::DecimalFormatter;
use icu_locale_core::locale;
const LINES_REMOVED_ADDED: [(i64, i64); 5] = [
(-50, 72),
(0, 3750),
(-1201, 0),
(-9876, 5432),
(-5000000, 3000000),
];
fn main() {
let formatter = DecimalFormatter::try_new(locale!("bn").into(), Default::default())
.expect("locale should be present");
for (removed, added) in LINES_REMOVED_ADDED {
let removed = formatter.format_to_string(&removed.into());
let added = formatter.format_to_string(&added.into());
assert!(!removed.is_empty());
assert!(!added.is_empty());
println!("Added/Removed: {added}/{removed}",);
}
}