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.*;


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("Hello World\r\n"));
    }

    
        
    }
    
}
   

@@ -295,24 +295,87 @@
 %7B %7B%0A       %0A
+        String lineSep = System.getProperty(%22line.separator%22);%0A
         Byte
@@ -556,13 +556,19 @@
 orld
-%5Cr%5Cn%22
+%22 + lineSep
 ));%0A

Create CalculateTest.java