<commit_before>package guitests;

import org.junit.Test;

public class ClearDoneCommandTest extends TaskManagerGuiTest {

    @Test
    public void clearDone() {

        //verify a non-empty list can be cleared
        commandBox.runCommand("clear done");
        assertClearDoneCommandSuccess();

        //verify other commands can work after a clear command
        commandBox.runCommand(td.hoon.getAddCommand());
        commandBox.runCommand("delete 1");

        //verify clear command works when the list is empty
        commandBox.runCommand("clear");
        commandBox.runCommand("clear done");
        assertClearDoneCommandSuccess();<commit_msg>add @@author to test<commit_after>package guitests;

import org.junit.Test;

//@@author A0139198N
public class ClearDoneCommandTest extends TaskManagerGuiTest {

    @Test
    public void clearDone() {

        //verify a non-empty list can be cleared
        commandBox.runCommand("clear done");
        assertClearDoneCommandSuccess();

        //verify other commands can work after a clear command
        commandBox.runCommand(td.hoon.getAddCommand());
        commandBox.runCommand("delete 1");

        //verify clear command works when the list is empty
        commandBox.runCommand("clear");
        commandBox.runCommand("clear done");
        assertClearDoneCommandSuccess();
{'fraction_non_alphanumeric': 0.08915304606240713, 'fraction_numerical': 0.006686478454680535, 'mean_word_length': 3.1319018404907975, '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': '4222833', 'n_tokens_mistral': 349, 'n_tokens_neox': 333, 'n_words': 100}