package ru.job4j;

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

/**
*Test.
*
*@author Dmitriy Bobrov (mailto:bobrov.dmitriy@gmail.com)
*@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"))));
}
@@ -599,9 +599,12 @@
 r%22))));%0A
+%09%7D%0A
 %7D

Task 1.4.1 Junit