<commit_before><?php

namespace Unit;

class AutoloadTest extends \PHPUnit_Framework_TestCase
{
    public function testClassesExist()
    {
        $autoloader = new \Resumable\Autoloader();
        $autoloader->autoload('noclass');
        $this->assertFalse(class_exists('noclass', false));
        $autoloader->autoload('Resumable\NoClass');
        $this->assertFalse(class_exists('Resumable\NoClass', false));
        $autoloader->autoload('Resumable\File');
        $this->assertTrue(class_exists('Resumable\File'));
    }
}<commit_msg>test: autoloader register<commit_after><?php

namespace Unit;

class AutoloadTest extends \PHPUnit_Framework_TestCase
{
    public function testClassesExist()
    {
        $autoloader = new \Resumable\Autoloader();
        $autoloader->autoload('noclass');
        $this->assertFalse(class_exists('noclass', false));
        $autoloader->autoload('Resumable\NoClass');
        $this->assertFalse(class_exists('Resumable\NoClass', false));
        $autoloader->autoload('Resumable\File');
        $this->assertTrue(class_exists('Resumable\File'));
        \Resumable\Autoloader::register();
    }
}
{'fraction_non_alphanumeric': 0.147239263803681, 'fraction_numerical': 0.0, 'mean_word_length': 3.965217391304348, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 15, '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': '1849955', 'n_tokens_mistral': 369, 'n_tokens_neox': 375, 'n_words': 45}