<commit_before>package com.twu.biblioteca;

import org.junit.Test;

import static org.junit.Assert.assertEquals;
/**
 * Created by watsonarw on 16/04/15.
 */
public class LibraryTest {


    @Test
    public void testSingleBookLibrary() {
        Library library = new Library();
        library.addBook("The Hobbit", "<NAME>", 1937);
        assertEquals("The Hobbit - <NAME>, 1937\n",library.getBookList());
    }


    @Test
    public void testMultiBookLibrary() {
        Library library = new Library();
        library.addBook("The Hobbit", "<NAME>", 1937);
        library.addBook("Catcher in the Rye", "<NAME>", 1951);
        assertEquals("The Hobbit - <NAME>olkien, 1937\nCatcher in the Rye - J.D. Salinger, 1951\n",library.getBookList());
    }
}<commit_msg>Update Expected Library test responses for numbering books<commit_after>package com.twu.biblioteca;

import org.junit.Test;

import static org.junit.Assert.assertEquals;
/**
 * Created by watsonarw on 16/04/15.
 */
public class LibraryTest {


    @Test
    public void testSingleBookLibrary() {
        Library library = new Library();
        library.addBook("The Hobbit", "<NAME>", 1937);
        assertEquals(" 1 | The Hobbit - <NAME>, 1937\n",library.getBookList());
    }


    @Test
    public void testMultiBookLibrary() {
        Library library = new Library();
        library.addBook("The Hobbit", "<NAME>", 1937);
        library.addBook("Catcher in the Rye", "<NAME>", 1951);
        assertEquals(" 1 | The Hobbit - <NAME>, 1937\n 2 | Catcher in the Rye - <NAME>, 1951\n",library.getBookList());
    }
}
{'fraction_non_alphanumeric': 0.14177693761814744, 'fraction_numerical': 0.03969754253308128, 'mean_word_length': 3.1354166666666665, 'pattern_counts': {'":': 0, '<': 14, '<?xml version=': 0, '>': 14, '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': '238730', 'n_tokens_mistral': 540, 'n_tokens_neox': 468, 'n_words': 130}