f7
f7 is a spreadsheet formula execution library
git clone https://git.vogt.world/f7.git
Log | Files | README.md | LICENSE.md
← All files
name: src/test/js/execution/ExecutorExpressionTest.ts
-rw-r--r--
373
1import { runner, it, describe } from "../testutils/TestUtils";
2
3describe("Executor.execute - Expressions", function () {
4  it("should work with parentheses", function () {
5    runner().addCell("Alpha", "A1", "= (TRUE)").addExpectedValue("Alpha", "A1", true).run();
6    runner().addCell("Alpha", "A1", "= (2 + 1) * 4").addExpectedValue("Alpha", "A1", 12.0).run();
7  });
8});