<commit_before><?php

namespace siad007\Fop\Tests;

use \PHPUnit_Framework_TestCase as TestCase;
use siad007\Fop\Options;

class OptionsTest extends TestCase
{
    /**
     * @var Options
     */
    protected $opts = null;

    protected function setUp()
    {
        $this->opts = new Options();
    }

    protected function tearDown()
    {
        unset($this->opts);
    }

    /**
     * @test
     */
    public function settingOptions()
    {
        $this->assertFalse($this->opts->isVerbose());
        $this->assertFalse($this->opts->isQuiet());
        $this->assertTrue($this->opts->setQuiet(true)->isQuiet());
        $this->assertTrue($this->opts->setVerbose(true)->isVerbose());
        $this->assertStringMatchesFormat('-q -v', $this->opts->__toString());
    }
}
<commit_msg>Fixed test<commit_after><?php

namespace siad007\Fop\Tests;

use \PHPUnit_Framework_TestCase as TestCase;
use siad007\Fop\Options;

class OptionsTest extends TestCase
{
    /**
     * @var Options
     */
    protected $opts = null;

    protected function setUp()
    {
        $this->opts = new Options();
    }

    protected function tearDown()
    {
        unset($this->opts);
    }

    /**
     * @test
     */
    public function settingOptions()
    {
        $this->assertFalse($this->opts->isVerbose());
        $this->assertFalse($this->opts->isQuiet());
        $this->assertTrue($this->opts->setQuiet(true)->isQuiet());
        $this->assertTrue($this->opts->setVerbose(true)->isVerbose());
        $this->assertStringMatchesFormat('-v -q', $this->opts->__toString());
    }
}

{'fraction_non_alphanumeric': 0.17013232514177692, 'fraction_numerical': 0.007561436672967864, 'mean_word_length': 2.675925925925926, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 41, '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': '5196377', 'n_tokens_mistral': 512, 'n_tokens_neox': 505, 'n_words': 79}