first commit

This commit is contained in:
2019-01-22 01:14:16 +01:00
commit 0c2bdb5394
561 changed files with 56658 additions and 0 deletions
@@ -0,0 +1,24 @@
<?php
use Grav\Common\Language\LanguageCodes;
/**
* Class ParsedownTest
*/
class LanguageCodesTest extends \Codeception\TestCase\Test
{
public function testRtl()
{
$this->assertSame('ltr',
LanguageCodes::getOrientation('en'));
$this->assertSame('rtl',
LanguageCodes::getOrientation('ar'));
$this->assertSame('rtl',
LanguageCodes::getOrientation('he'));
$this->assertTrue(LanguageCodes::isRtl('ar'));
$this->assertFalse(LanguageCodes::isRtl('fr'));
}
}