<commit_before><?php
namespace phparsenal\fastforward;

define("DS", DIRECTORY_SEPARATOR);
define("ROOT", dirname(dirname(__FILE__)));

use cli\Streams;
use nochso\ORM\DBA\DBA;

class ClientTest extends \PHPUnit_Framework_TestCase
{
    /**
     * Setup
     */
    protected function setUp()
    {
        require_once(ROOT . DS . 'src' . DS . 'Client.php');
        require_once(ROOT . DS . 'vendor' . DS . 'autoload.php');
        $this->client = new Client();
    }

    /**
     * Destroy it
     */
    protected function tearDown()
    {
        $this->client = null;
    }

    /**
     * Test with a number, should return a string
     */
    public function testOrdinalNumber()
    {
        $result = $this->client->ordinal(3);
        $this->assertInternalType('string', $result);
    }

    /**
     * Test with a letter
     */
    public function testOrdinalLetter()
    {
        $result = $this->client->ordinal('c');
        echo $result;
        $this->assertFalse($result);
    }
}<commit_msg>Added two tests for getBatchPath method<commit_after><?php
namespace phparsenal\fastforward;

define("DS", DIRECTORY_SEPARATOR);
define("ROOT", dirname(dirname(__FILE__)));

use cli\Streams;
use nochso\ORM\DBA\DBA;

class ClientTest extends \PHPUnit_Framework_TestCase
{
    /**
     * Setup
     */
    protected function setUp()
    {
        require_once(ROOT . DS . 'src' . DS . 'Client.php');
        require_once(ROOT . DS . 'vendor' . DS . 'autoload.php');
        $this->client = new Client();
    }

    /**
     * Destroy it
     */
    protected function tearDown()
    {
        $this->client = null;
    }

    /**
     * Test with a number, should return a string
     */
    public function testOrdinalNumber()
    {
        $result = $this->client->ordinal(3);
        $this->assertInternalType('string', $result);
    }

    /**
     * Test with a letter
     */
    public function testOrdinalLetter()
    {
        $result = $this->client->ordinal('c');
        echo $result;
        $this->assertFalse($result);
    }

    /**
     * Test getBatchPath length
     */
    public function testGetBatchPathLength()
    {
        $result = $this->client->getBatchPath();
        $len = strlen($result);
        $this->assertGreaterThan(0, $len);
    }

    /**
     * Test getBatchPath type
     */
    public function testGetBatchPatchType()
    {
        $result = $this->client->getBatchPath();
        $this->assertInternalType('string', $result);
    }
}
{'fraction_non_alphanumeric': 0.14630225080385853, 'fraction_numerical': 0.0012057877813504824, 'mean_word_length': 2.2282749675745785, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 25, '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': '7446851', 'n_tokens_mistral': 778, 'n_tokens_neox': 766, 'n_words': 159}