Project

General

Profile

« Previous | Next » 

Revision 3603b96e

Added by Andreas Kohlbecker over 3 years ago

ref #8830 statistical values: unit before brackets

View differences:

modules/cdm_dataportal/test/phpUnit/src/unit/StatisticalValuesTest.php
84 84
  function test_statistical_values_with_unit() {
85 85

  
86 86
    $stat_vals = $this->create_statistical_values(2.2,  8.7, 5.234, 5, 0.3, 0.12);
87
    $this->assertEquals('2.2–8.7 [5;x̄=5;σ²=0.3;σ=0.12] cm', $this->html2text(statistical_values($stat_vals, 'cm')));
87
    $this->assertEquals('2.2–8.7 cm [5;x̄=5;σ²=0.3;σ=0.12]', $this->html2text(statistical_values($stat_vals, 'cm')));
88 88
  }
89 89

  
90 90

  

Also available in: Unified diff