sc/qa/unit/data/functions/mathematical/fods/mround.fods | 19 ++++++++++++++++ 1 file changed, 19 insertions(+)
New commits: commit 8060f1349169772653c9be42cf64f559418fab73 Author: Xisco Fauli <xiscofa...@libreoffice.org> AuthorDate: Mon Apr 24 12:58:26 2023 +0200 Commit: Xisco Fauli <xiscofa...@libreoffice.org> CommitDate: Mon Apr 24 14:46:59 2023 +0200 tdf#154941: sc_mathematical_functions_test: Add unittest Change-Id: I263b143c94773045fa9c20471b81a7555aff4ce9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150909 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org> diff --git a/sc/qa/unit/data/functions/mathematical/fods/mround.fods b/sc/qa/unit/data/functions/mathematical/fods/mround.fods index 5971ef4b0cb0..f9a5d317836f 100644 --- a/sc/qa/unit/data/functions/mathematical/fods/mround.fods +++ b/sc/qa/unit/data/functions/mathematical/fods/mround.fods @@ -2682,6 +2682,25 @@ <table:table-cell table:style-name="ce30" table:number-columns-repeated="3"/> <table:table-cell/> </table:table-row> + <table:table-row table:style-name="ro2"> + <table:table-cell table:formula="of:=MROUND(1.45;0.1)" office:value-type="float" office:value="1.5" calcext:value-type="float"> + <text:p>1.5</text:p> + </table:table-cell> + <table:table-cell office:value-type="float" office:value="1.5" calcext:value-type="float"> + <text:p>1.5</text:p> + </table:table-cell> + <table:table-cell table:style-name="ce14" table:formula="of:=ROUND([.A22];12)=ROUND([.B22];12)" 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="ce20" table:formula="of:=FORMULA([.A22])" office:value-type="string" office:string-value="=MROUND(1.45;0.1)" calcext:value-type="string"> + <text:p>=MROUND(1.45;0.1)</text:p> + </table:table-cell> + <table:table-cell table:number-columns-repeated="5"/> + <table:table-cell table:style-name="ce31"/> + <table:table-cell/> + <table:table-cell table:style-name="ce30" table:number-columns-repeated="3"/> + <table:table-cell/> + </table:table-row> <table:table-row table:style-name="ro2"> <table:table-cell table:number-columns-repeated="2"/> <table:table-cell table:style-name="ce15"/>