<commit_before>package guitests;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class ClearCommandTest extends ToDoListGuiTest {
/*
    @Test
    public void clear() {
/*
        //verify a non-empty list can be cleared
        assertTrue(taskListPanel.isListMatching(td.getTypicalTasks()));
        assertClearCommandSuccess();

        //verify other commands can work after a clear command
        commandBox.runCommand(td.meetHoon.getAddCommand());
        assertTrue(taskListPanel.isListMatching(td.meetHoon));
        commandBox.runCommand("delete 1");
        assertListSize(0);

        //verify clear command works when the list is empty
        assertClearCommandSuccess();
    }

    private void assertClearCommandSuccess() {
        commandBox.runCommand("clear");
        assertListSize(0);
    }*/
}
<commit_msg>Revert "commented out clear for now"<commit_after>package guitests;

import org.junit.Test;

import static org.junit.Assert.assertTrue;

public class ClearCommandTest extends ToDoListGuiTest {

    @Test
    public void clear() {
/*
        //verify a non-empty list can be cleared
        assertTrue(taskListPanel.isListMatching(td.getTypicalTasks()));
        assertClearCommandSuccess();

        //verify other commands can work after a clear command
        commandBox.runCommand(td.meetHoon.getAddCommand());
        assertTrue(taskListPanel.isListMatching(td.meetHoon));
        commandBox.runCommand("delete 1");
        assertListSize(0);

        //verify clear command works when the list is empty
        assertClearCommandSuccess();
    }

    private void assertClearCommandSuccess() {*/
        commandBox.runCommand("clear");
        assertListSize(0);
    }
}

{'fraction_non_alphanumeric': 0.09578765147143682, 'fraction_numerical': 0.003462204270051933, 'mean_word_length': 3.1187648456057007, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1205783', 'n_tokens_mistral': 476, 'n_tokens_neox': 468, 'n_words': 113}