summaryrefslogtreecommitdiff
path: root/rows_test.go
diff options
context:
space:
mode:
authorxuri <xuri.me@gmail.com>2022-03-08 00:03:02 +0800
committerxuri <xuri.me@gmail.com>2022-03-08 00:03:02 +0800
commit56aa6b82637b3210be470a8ebac1fdec2b2a6a30 (patch)
tree419760c01fe4dbc4bca48a378461702e37d82d87 /rows_test.go
parent61eb265c29685957bcf16b25dba3d389c548dfee (diff)
ref #65, new formula functions and read boolean data type cell value support
* added 3 new formula functions: BETAINV, BETA.INV, F.INV.RT
Diffstat (limited to 'rows_test.go')
-rw-r--r--rows_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/rows_test.go b/rows_test.go
index 208b2de..22b038a 100644
--- a/rows_test.go
+++ b/rows_test.go
@@ -950,6 +950,10 @@ func TestNumberFormats(t *testing.T) {
assert.NoError(t, f.Close())
}
+func TestRoundPrecision(t *testing.T) {
+ assert.Equal(t, "text", roundPrecision("text", 0))
+}
+
func BenchmarkRows(b *testing.B) {
f, _ := OpenFile(filepath.Join("test", "Book1.xlsx"))
for i := 0; i < b.N; i++ {