UPDATE: Adds FORMULATEXT for Steve

This commit is contained in:
Nicolás Hatcher
2024-11-27 20:07:00 +01:00
committed by Nicolás Hatcher Andrés
parent 8ed0ab25f6
commit 726fc1399d
5 changed files with 64 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
#![allow(clippy::unwrap_used)]
use crate::test::util::new_empty_model;
#[test]
fn simple_cases() {}
#[test]
fn wrong_number_of_arguments() {
let mut model = new_empty_model();
model._set("A1", "=UNICODE()");
model._set("A2", "=UNICODE(\"B\",\"A\")");
model.evaluate();
assert_eq!(model._get_text("A1"), *"#ERROR!");
assert_eq!(model._get_text("A2"), *"#ERROR!");
}