You are here

public function StringTest::testGetThousandsSeparator in Loft Data Grids 6.2

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

File

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

Class

StringTest

Code

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