UPDATE: Dump of initial files

This commit is contained in:
Nicolás Hatcher
2023-11-18 21:26:18 +01:00
commit c5b8efd83d
279 changed files with 42654 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
#![allow(clippy::unwrap_used)]
use crate::number_format::format_number;
#[test]
fn test_simple_format() {
let formatted = format_number(2.3, "General", "en");
assert_eq!(formatted.text, "2.3".to_string());
}
#[test]
#[ignore = "not yet implemented"]
fn test_wrong_locale() {
let formatted = format_number(2.3, "General", "ens");
assert_eq!(formatted.text, "#ERROR!".to_string());
}