Skip to content

Commit

Permalink
Add test for isSmall, but failling b/c #8
Browse files Browse the repository at this point in the history
  • Loading branch information
alhoqbani committed Jul 7, 2017
1 parent 6778aa4 commit e324d67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/Arabic/NormaliseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,4 +176,14 @@ public function it_can_check_if_passed_character_is_teg_like()
$this->assertTrue((bool) $this->normalise->isTehlike('ة'));
$this->assertFalse((bool) $this->normalise->isTehlike('ج'));
}

/** @test */
public function it_can_check_if_passed_character_is_small()
{
$this->markTestSkipped('Until Small alef is fixed and replaces MINI_ALEF #8');
$this->assertTrue((bool)$this->normalise->isSmall($smallAlef = 'ٰ'));
$this->assertTrue((bool)$this->normalise->isSmall($smallYeh = 'ۦ'));
$this->assertTrue((bool)$this->normalise->isSmall($smallWaw = 'ۥ'));
$this->assertFalse((bool)$this->normalise->isSmall('ج'));
}
}

0 comments on commit e324d67

Please sign in to comment.