package ru.job4j.calculator;

import org.junit.Test;
import static org.hamcrest.core.Is.is;
import static org.junit.Assert.assertThat;

/**
* Test.
*
* @author Sergey Indyukov (mailto:onl.ont@mail.ri)
* @version $Id$
* @since 0.1
*/

public class MaxTest {
/**
* Test add.
*/
@Test
public void returnFirsOrSecond() {
        Max M = new Max();
        M.max(2, 1);
        int maximum = 2;
        int expected = 2;
        assertThat(maximum, is(expected));
    }
@@ -269,16 +269,17 @@
 add.%0A*/%0A
+%0A
 @Test%0Apu
@@ -298,16 +298,17 @@
 turnFirs
+t
 OrSecond
@@ -324,17 +324,18 @@
     Max 
-M
+mm
  = new M
@@ -344,29 +344,8 @@
 ();%0A
-        M.max(2, 1);%0A
     
@@ -362,17 +362,28 @@
 ximum = 
-2
+mm.max(2, 1)
 ;%0A      
@@ -449,9 +449,11 @@
 ));%0A
-
     %7D
+%0A%7D

task 189