<commit_before><?php

namespace Tests\Collections\Comparer;

use Collections\Comparer\NumericKeyComparer;

class NumericKeyComparerTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @test
     */
    public function it_should_compare_two_strings()
    {
        $comparer = new NumericKeyComparer();
        $result = $comparer->compare(3, 2);

        $this->assertInternalType("int", $result);
    }
}<commit_msg>Adding two tests to get full coverage of the NumericKeyComparer class.<commit_after><?php

namespace Tests\Collections\Comparer;

use Collections\Comparer\NumericKeyComparer;

class NumericKeyComparerTest extends \PHPUnit_Framework_TestCase
{
    /**
     * @test
     */
    public function it_should_compare_two_strings()
    {
        $comparer = new NumericKeyComparer();
        $result = $comparer->compare(3, 2);

        $this->assertInternalType("int", $result);
    }

    /**
     * @test
     */
    public function first_is_less_than_second()
    {
        $comparer = new NumericKeyComparer();
        $result = $comparer->compare(2,3);

        $this->assertSame($result,1);
    }

    /**
     * @test
     */
    public function first_equals_section()
    {
        $comparer = new NumericKeyComparer();
        $result = $comparer->compare(2,2);

        $this->assertSame($result,0);
    }
}
{'fraction_non_alphanumeric': 0.12387387387387387, 'fraction_numerical': 0.0075075075075075074, 'mean_word_length': 2.8976608187134505, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, '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': '6020910', 'n_tokens_mistral': 416, 'n_tokens_neox': 407, 'n_words': 72}