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/java/io/protobase/f7/spreadsheet/F7CodeExecutorGeneralExpressionTest.java
-rw-r--r--
402
 1package io.protobase.f7.spreadsheet;
 2
 3import io.protobase.f7.testutils.TestF7CodeExecutor;
 4import org.junit.Test;
 5
 6import static com.google.common.truth.Truth.assertThat;
 7
 8public class F7CodeExecutorGeneralExpressionTest extends TestF7CodeExecutor {
 9  @Test
10  public void test_Parentheses() {
11    assertThat(run("= (TRUE)")).isEqualTo(true);
12    assertThat(run("= (2 + 1) * 4")).isEqualTo(12.0);
13  }
14}