Debian Codegraph @

tests/phpunit/includes/languages/LanguageKkTest.php

raw symbols SCIP
1 <?php
2
3 /**
4 * @group Language
5 */
6 class LanguageKkTest extends LanguageClassesTestCase {
7
8 /**
9 * @dataProvider provideGrammar
10 * @covers \MediaWiki\Language\Language::convertGrammar
11 */
12 public function testGrammar( $result, $word, $case ) {
13 $this->assertEquals( $result, $this->getLang()->convertGrammar( $word, $case ) );
14 }
15
16 public static function provideGrammar() {
17 yield 'Wikipedia ablative' => [
18 'Уикипедияден',
19 'Уикипедия',
20 'ablative',
21 ];
22 yield 'Wiktionary ablative' => [
23 'Уикисөздіктен',
24 'Уикисөздік',
25 'ablative',
26 ];
27 yield 'Wikibooks ablative' => [
28 'Уикикітаптан',
29 'Уикикітап',
30 'ablative',
31 ];
32 }
33 }