use trevors_utilities::format_with_commas::format_with_commas; #[test] fn format_with_commas_none_needed() { assert_eq!("0", format_with_commas(0)); } #[test] fn format_thousands() { assert_eq!("1,000", format_with_commas(1000)); } #[test] fn format_millions() { assert_eq!("1,000,000", format_with_commas(1000000)); }