<commit_before><?php

include("Sandwich.php");

class getSandwichTest extends PHPUnit_Framework_TestCase {

    public function testNoBreadPiece() {
        $this->assertEquals("", Sandwich::getSandwich("eggBACONcheese"));
    }

    public function testOneBreadPiece() {
        $this->assertEquals("", Sandwich::getSandwich("justonepieceofbreadininput"));
    }

    public function testEggInBetween() {
        $this->assertEquals("egg", Sandwich::getSandwich("breadeggbread"));
    }

    public function testIngredientMix() {
        $this->assertEquals("BACON", Sandwich::getSandwich("EGGbreadBACONbreadCHEESE"));
    }

    public function testTwoBreadPiecesOnly() {
        $this->assertEquals("", Sandwich::getSandwich("breadbread"));
    }
}

?><commit_msg>Add testEmptyString()<commit_after><?php

include("Sandwich.php");

class getSandwichTest extends PHPUnit_Framework_TestCase {

    public function testNoBreadPiece() {
        $this->assertEquals("", Sandwich::getSandwich("eggBACONcheese"));
    }

    public function testOneBreadPiece() {
        $this->assertEquals("", Sandwich::getSandwich("justonepieceofbreadininput"));
    }

    public function testEggInBetween() {
        $this->assertEquals("egg", Sandwich::getSandwich("breadeggbread"));
    }

    public function testIngredientMix() {
        $this->assertEquals("BACON", Sandwich::getSandwich("EGGbreadBACONbreadCHEESE"));
    }

    public function testTwoBreadPiecesOnly() {
        $this->assertEquals("", Sandwich::getSandwich("breadbread"));
    }
    
    public function testEmptyInputString() {
        $this->assertEquals("", Sandwich::getSandwich(""));
    }
}

?>
{'fraction_non_alphanumeric': 0.14535585042219543, 'fraction_numerical': 0.0, 'mean_word_length': 4.439344262295082, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 16, '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': '5272424', 'n_tokens_mistral': 523, 'n_tokens_neox': 489, 'n_words': 68}