| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class CYAlgorithmTest extends TestCase |
||
| 9 | { |
||
| 10 | const VALID_NUMBER = '00123123T'; |
||
| 11 | const VALID_NUMBER2 = '99652156X'; |
||
| 12 | const INVALID_NUMBER_CHECK = '001231237'; |
||
| 13 | const INVALID_NUMBER_LENGTH = '00123123TZ'; |
||
| 14 | |||
| 15 | public function testValidNumber() |
||
| 16 | { |
||
| 17 | $this->assertTrue(TINValid::checkTIN('cy', self::VALID_NUMBER)); |
||
| 18 | $this->assertTrue(TINValid::checkTIN('cy', self::VALID_NUMBER2)); |
||
| 19 | } |
||
| 20 | |||
| 21 | public function testInvalidNumber() |
||
| 25 | } |
||
| 26 | } |
||
| 27 |