<commit_before>package by.vorokhobko;

import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

/**
 * Test.
 *
 * @author <NAME> (<EMAIL>).
 * @version 1.
 * @since 11.11.2016.
 */

public class CalculateTest {
    /**
     * @Test.
     */
    @Test
    public void whenRunHWThenPrintToOut() {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        System.setOut(new PrintStream(out));
        Calculate.main(null);
        assertThat(out.toString(), is("Hello World\r\n"));
    }
}<commit_msg>mod Calculate<commit_after>package by.vorokhobko;

import org.junit.Test;
import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

/**
 * Test.
 *
 * @author <NAME> (<EMAIL>).
 * @version 1.
 * @since 11.11.2016.
 */

public class CalculateTest {
    /**
     * @Test.
     */
    @Test
    public void whenRunHWThenPrintToOut() {
        ByteArrayOutputStream out = new ByteArrayOutputStream();
        System.setOut(new PrintStream(out));
        Calculate.main(null);
        assertThat(out.toString(), is("Hello World\n"));
    }
}
{'fraction_non_alphanumeric': 0.14251592356687898, 'fraction_numerical': 0.014331210191082803, 'mean_word_length': 3.1485148514851486, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '4330273', 'n_tokens_mistral': 425, 'n_tokens_neox': 402, 'n_words': 81}