<commit_before>package ru.job4j.loop;

import org.junit.Test;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/** 
*Class BoardTest
*@author <NAME> (mailto:<EMAIL>)
*@since 26.05.2017
*/
public class BoardTest {
/**
* Test Board.
*/  
  @Test
    public void whenPaintBoardWithWidthThreeAndHeightThreeThenStringWithThreeColsAndThreeRows() {
        //assign
		String expected = String.format("x x%s x %sx x%s", line, line, line);
		final String line = System.getProperty("line.separator");
		Board board = new Board();
        //act
		String result = board.paint(3, 3);
        
        //assert
        assertThat(result, is(expected));
	}
  

    @Test
    public void whenPaintBoardWithWidthFiveAndHeightFourThenStringWithFiveColsAndFourRows() {
        //assign
		String expected = String.format("x x x%s x x %sx x x%s x x %s", line, line, line, line, line);
		Board board = new Board();
		final String line = System.getProperty("line.separator");
		//act
		String result = board.paint(5, 4);
		//assert
		assertThat(result, is(expected));
		//напишите здесь тест, проверяющий формирование доски 5 на 4.
    }
}
<commit_msg>change in Board<commit_after>package ru.job4j.loop;

import org.junit.Test;

import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;
/** 
*Class BoardTest
*@author <NAME> (mailto:<EMAIL>)
*@since 26.05.2017
*/
public class BoardTest {
/**
* Test Board.
*/  
  @Test
    public void whenPaintBoardWithWidthThreeAndHeightThreeThenStringWithThreeColsAndThreeRows() {
        //assign
		Board board = new Board();
		final String line = System.getProperty("line.separator");
        //act
		String result = board.paint(3, 3);
        String expected = String.format("x x%s x %sx x%s", line, line, line);
        //assert
        assertThat(result, is(expected));
	}
  

    @Test
    public void whenPaintBoardWithWidthFiveAndHeightFourThenStringWithFiveColsAndFourRows() {
        //assign
		Board board = new Board();
		final String line = System.getProperty("line.separator");
		//act
		String result = board.paint(5, 4);
		String expected = String.format("x x x%s x x %sx x x%s x x %s", line, line, line, line, line);
		//assert
		assertThat(result, is(expected));
		//напишите здесь тест, проверяющий формирование доски 5 на 4.
    }
}

{'fraction_non_alphanumeric': 0.1281720430107527, 'fraction_numerical': 0.012903225806451613, 'mean_word_length': 3.4389312977099236, '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': '3628150', 'n_tokens_mistral': 822, 'n_tokens_neox': 780, 'n_words': 204}