<commit_before><?php

class ValidationTest extends PHPUnit_Framework_TestCase
{

    public function testIsbn10()
    {
        $this->assertTrue(Isbn\Validation::isbn10('8881837188'));
        $this->assertFalse(Isbn\Validation::isbn10('8881837187'));
    }

    public function testIsbn13()
    {
        $this->assertTrue(Isbn\Validation::isbn13('9788889527191'));
        $this->assertFalse(Isbn\Validation::isbn13('9788889527190'));
    }

    public function testIsbn()
    {
        $this->assertTrue(Isbn\Validation::isbn('8881837188'));
        $this->assertFalse(Isbn\Validation::isbn('8881837187'));
        $this->assertTrue(Isbn\Validation::isbn('9788889527191'));
        $this->assertFalse(Isbn\Validation::isbn('9788889527190'));
    }

}
<commit_msg>Move to 100% of Testing Code Coverage for Isbn::Validation<commit_after><?php

class ValidationTest extends PHPUnit_Framework_TestCase
{

    public function testIsbn10()
    {
        $this->assertTrue(Isbn\Validation::isbn10('8881837188'));
        $this->assertFalse(Isbn\Validation::isbn10('8881837187'));
    }

    public function testIsbn13()
    {
        $this->assertTrue(Isbn\Validation::isbn13('9788889527191'));
        $this->assertFalse(Isbn\Validation::isbn13('9788889527190'));
    }

    public function testIsbn()
    {
        $this->assertTrue(Isbn\Validation::isbn('8881837188'));
        $this->assertFalse(Isbn\Validation::isbn('8881837187'));
        $this->assertTrue(Isbn\Validation::isbn('9788889527191'));
        $this->assertFalse(Isbn\Validation::isbn('9788889527190'));
        $this->assertFalse(Isbn\Validation::isbn('97888895271910'));
    }

}

{'fraction_non_alphanumeric': 0.15898058252427186, 'fraction_numerical': 0.13652912621359223, 'mean_word_length': 4.12111801242236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 20, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7626295', 'n_tokens_mistral': 667, 'n_tokens_neox': 541, 'n_words': 53}