<commit_before>package ru.job4j;

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> (mailto:<EMAIL>)
* @version $Id$
* @since 0.1
*/
public class CalculateTest {
/**
* Test add.
*/
	@Test
	public void whenAddOneToOneThenTwo() {
	              ByteArrayOutputStream out = new ByteArrayOutputStream();
		System.setOut(new PrintStream(out));
		Calculate.main(null);
		assertThat(out.toString(), is(String.format("Hello world%s",System.getProperty("line.separator")
	)
	)
	);
	}
	}<commit_msg>add CalculateTest<commit_after>package ru.job4j;

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;

/**
* Package for calculate task.
*
* @author <NAME> (mailto:<EMAIL>)
* @version 1
* @since 17.05.2017
*/
public class CalculateTest {
/**
* Test add.
*/
	@Test
	public void whenAddOneToOneThenTwo() {
	              ByteArrayOutputStream out = new ByteArrayOutputStream();
		System.setOut(new PrintStream(out));
		Calculate.main(null);
		assertThat(out.toString(),is(String.format("Hello world%s",System.getProperty("line.separator")
	)
	)
	);
	}
	}
{'fraction_non_alphanumeric': 0.146991622239147, 'fraction_numerical': 0.009900990099009901, 'mean_word_length': 4.591489361702128, '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': '1457013', 'n_tokens_mistral': 465, 'n_tokens_neox': 442, 'n_words': 85}