Kaydet (Commit) 65b19906 authored tarafından Takeshi Abe's avatar Takeshi Abe Kaydeden (comit) Markus Mohrhard

sc: Add a test case for ZTEST() raising #DIV/0!

... when the sample stddev is 0.

This follows up d17e8faa.

Change-Id: I4ce718f60f1dbcf58fdcbbb553c345c9c8907a2b
Reviewed-on: https://gerrit.libreoffice.org/55741
Tested-by: Jenkins
Reviewed-by: 's avatarMarkus Mohrhard <markus.mohrhard@googlemail.com>
üst 84ccbb51
......@@ -4462,10 +4462,22 @@
<table:table-cell table:number-columns-repeated="5"/>
</table:table-row>
<table:table-row table:style-name="ro6">
<table:table-cell table:number-columns-repeated="2"/>
<table:table-cell table:style-name="ce28"/>
<table:table-cell table:style-name="ce32"/>
<table:table-cell table:number-columns-repeated="3"/>
<table:table-cell table:formula="of:=ZTEST([.F18:.G18]; 42)" office:value-type="string" office:string-value="" calcext:value-type="error">
<text:p>#DIV/0!</text:p>
</table:table-cell>
<table:table-cell table:formula="of:#DIV/0!" office:value-type="string" office:string-value="" calcext:value-type="error">
<text:p>#DIV/0!</text:p>
</table:table-cell>
<table:table-cell table:style-name="ce28" table:formula="of:=ERROR.TYPE([.A18])=2" 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="ce32" table:formula="of:=FORMULA([.A18])" office:value-type="string" office:string-value="=ZTEST(F18:G18, 42)" calcext:value-type="string">
<text:p>=ZTEST(F18:G18, 42)</text:p>
</table:table-cell>
<table:table-cell/>
<table:table-cell table:number-columns-repeated="2" office:value-type="float" office:value="42" calcext:value-type="float">
<text:p>42</text:p>
</table:table-cell>
<table:table-cell table:style-name="ce58"/>
<table:table-cell table:number-columns-repeated="3"/>
<table:table-cell table:style-name="ce46"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment