Skip to content

Commit 4030cea

Browse files
committed
Tests
1 parent 99bc304 commit 4030cea

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/DetectLanguageTest.php

+7
Original file line numberDiff line numberDiff line change
@@ -134,4 +134,11 @@ public function can_detect_hebrew()
134134
$this->assertTrue(StringScript::isHebrew('א ב ג ד ה ו ז ח ט י'));
135135
$this->assertFalse(StringScript::isHebrew('Hello world, and welcome this package.'));
136136
}
137+
138+
/** @test */
139+
public function can_detect_mongolian()
140+
{
141+
$this->assertTrue(StringScript::isMongolian('ᠪᠣᠯᠠᠢ᠃'));
142+
$this->assertFalse(StringScript::isMongolian('Hello world, and welcome this package.'));
143+
}
137144
}

0 commit comments

Comments
 (0)