15 $this->assertEquals(
'be-tarask',
27 $this->
getLang()->normalizeForSearch(
'’' ),
28 'T25156: U+2019 conversion to U+0027'
37 $this->assertEquals(
'1,234,567', $this->
getLang()->commafy(
'1234567' ) );
38 $this->assertEquals(
'12,345', $this->
getLang()->commafy(
'12345' ) );
46 $this->assertEquals(
'1234', $this->
getLang()->commafy(
'1234' ) );
54 $forms = [
'one',
'few',
'many',
'other' ];
55 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
63 $this->assertEquals( $result, $this->
getLang()->getPluralRuleType(
$value ) );
87 $forms = [
'1=one',
'other' ];
88 $this->assertEquals( $result, $this->
getLang()->convertPlural(
$value, $forms ) );
static providePluralTwoForms()
testPluralTwoForms( $result, $value)
providePluralTwoForms Language::convertPlural
testGetPluralRuleType( $result, $value)
providePlural Language::getPluralRuleType
testPlural( $result, $value)
providePlural Language::convertPlural
testSearchRightSingleQuotationMarkAsApostroph()
testDoesNotCommafyFourDigitsNumber()
testBeTaraskTestsUsesBeTaraskCode()
Make sure the language code we are given is indeed be-tarask.
Helping class to run tests using a clean language instance.