first commit

This commit is contained in:
2019-09-30 16:21:51 +02:00
commit 5f00dd9b15
9746 changed files with 905481 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'));
}
}