Merge pull request #598 from elsaminsut/testfixes

fix: remove duplicate xlsx tests
This commit is contained in:
Daniel González-Albo
2025-12-10 00:48:27 +01:00
committed by GitHub
11 changed files with 5 additions and 4 deletions

View File

@@ -1,4 +1,5 @@
mod test_actions;
mod test_arabic_roman;
mod test_binary_search;
mod test_cell;
mod test_cell_clear_contents;
@@ -39,6 +40,7 @@ mod test_metadata;
mod test_model_cell_clear_all;
mod test_model_is_empty_cell;
mod test_move_formula;
mod test_mround_trunc_int;
mod test_quote_prefix;
mod test_row_column_styles;
mod test_set_user_input;

View File

@@ -6,8 +6,8 @@ use crate::test::util::new_empty_model;
fn arguments() {
let mut model = new_empty_model();
model._set("A1", "=ARABIC()");
model._set("A2", "=ARABIC(V)");
model._set("A3", "=ARABIC(V, 2)");
model._set("A2", "=ARABIC(\"V\")");
model._set("A3", "=ARABIC(\"V\", 2)");
model._set("A4", "=ROMAN()");
model._set("A5", "=ROMAN(5)");

View File

@@ -20,7 +20,6 @@ fn arguments() {
model._set("A11", "=INT(10.22, 1)");
model._set("A12", "=INT(10.22, 1, 2)");
model.evaluate();
assert_eq!(model._get_text("A1"), *"#ERROR!");
@@ -29,7 +28,7 @@ fn arguments() {
assert_eq!(model._get_text("A4"), *"#ERROR!");
assert_eq!(model._get_text("A5"), *"#ERROR!");
assert_eq!(model._get_text("A6"), *"#ERROR!");
assert_eq!(model._get_text("A6"), *"10");
assert_eq!(model._get_text("A7"), *"10.2");
assert_eq!(model._get_text("A8"), *"#ERROR!");