summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 11:53:52 +0200
committerXisco Fauli <xiscofauli@libreoffice.org>2021-05-24 16:14:14 +0200
commit4c5bbb25d215b618c38e2fec58d0cc2f16af3f18 (patch)
treee8b0ae971131604a58dda5480094e7be9445d31e
parentaf10eb1207c83b1c794da74ef48f5c3345669a17 (diff)
tdf#136794: sc_mathematical_functions: Add unittest
Change-Id: I2254007a2746acc41fd7e51a9a2630f7009a85e6 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/116043 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org>
-rw-r--r--sc/qa/unit/data/functions/mathematical/fods/round.fods17
1 files changed, 17 insertions, 0 deletions
diff --git a/sc/qa/unit/data/functions/mathematical/fods/round.fods b/sc/qa/unit/data/functions/mathematical/fods/round.fods
index d75968c17bbe..b8264d7fb1d2 100644
--- a/sc/qa/unit/data/functions/mathematical/fods/round.fods
+++ b/sc/qa/unit/data/functions/mathematical/fods/round.fods
@@ -2157,6 +2157,23 @@
<table:table-cell table:style-name="ce32" table:number-columns-repeated="4"/>
<table:table-cell/>
</table:table-row>
+ <table:table-row table:style-name="ro2">
+ <table:table-cell table:formula="of:=ROUND(6E-027;30)" office:value-type="float" office:value="6E-027" calcext:value-type="float">
+ <text:p>6E-27</text:p>
+ </table:table-cell>
+ <table:table-cell office:value-type="float" office:value="6E-27" calcext:value-type="float">
+ <text:p>6E-27</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="ce44" table:formula="of:=[.A19]=[.B19]" office:value-type="boolean" office:boolean-value="true" calcext:value-type="boolean">
+ <text:p>TRUE</text:p>
+ </table:table-cell>
+ <table:table-cell table:style-name="ce21" table:formula="of:=FORMULA([.A19])" office:value-type="string" office:string-value="=ROUND(6E-027,30)" calcext:value-type="string">
+ <text:p>=ROUND(6E-027;30)</text:p>
+ </table:table-cell>
+ <table:table-cell table:number-columns-repeated="5"/>
+ <table:table-cell table:style-name="ce32" table:number-columns-repeated="4"/>
+ <table:table-cell/>
+ </table:table-row>
<table:table-row table:style-name="ro2" table:number-rows-repeated="2">
<table:table-cell table:number-columns-repeated="2"/>
<table:table-cell table:style-name="ce14"/>