Skip to content

Commit

Permalink
Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LasseRafn committed Oct 2, 2017
1 parent 99bc304 commit 4030cea
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/DetectLanguageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,11 @@ public function can_detect_hebrew()
$this->assertTrue(StringScript::isHebrew('א ב ג ד ה ו ז ח ט י'));
$this->assertFalse(StringScript::isHebrew('Hello world, and welcome this package.'));
}

/** @test */
public function can_detect_mongolian()
{
$this->assertTrue(StringScript::isMongolian('ᠪᠣᠯᠠᠢ᠃'));
$this->assertFalse(StringScript::isMongolian('Hello world, and welcome this package.'));
}
}

0 comments on commit 4030cea

Please sign in to comment.