Revision 8867b63b
Added by Andreas Kohlbecker over 4 years ago
modules/cdm_dataportal/test/phpUnit/src/unit/StatisticalValuesTest.php | ||
---|---|---|
44 | 44 |
|
45 | 45 |
function test_statistical_values_significant_figures_avarage() { |
46 | 46 |
|
47 |
$stat_vals = $this->create_statistical_values(0.123457, 0.123456, 0.1234565345, 5);
|
|
47 |
$stat_vals = $this->create_statistical_values(0.123457, 0.123456, 0.123456523847, 5);
|
|
48 | 48 |
$this->assertEquals('0.123457–0.123456[5;x̄=0.1234565]', $this->html2text(statistical_values($stat_vals))); |
49 | 49 |
|
50 | 50 |
$stat_vals = $this->create_statistical_values(12.23, 14.2, 13.2231423, 15); |
Also available in: Unified diff
ref #8771 fixing bug in statistical value processing