You are here

public function StringTest::testGetDecimalSeparator in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/StringTest.php \StringTest::testGetDecimalSeparator()

File

vendor/phpoffice/phpexcel/unitTests/Classes/PHPExcel/Shared/StringTest.php, line 29

Class

StringTest

Code

public function testGetDecimalSeparator() {
  $localeconv = localeconv();
  $expectedResult = !empty($localeconv['decimal_point']) ? $localeconv['decimal_point'] : ',';
  $result = call_user_func(array(
    'PHPExcel_Shared_String',
    'getDecimalSeparator',
  ));
  $this
    ->assertEquals($expectedResult, $result);
}