Project

General

Profile

Revision 8867b63b

ID8867b63b27a2deae6936acb205d99d676a32ba7a
Parent cbe9b085
Child 0e414cc1

Added by Andreas Kohlbecker 7 months ago

ref #8771 fixing bug in statistical value processing

View differences:

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

Add picture from clipboard (Maximum size: 40 MB)