package com.glzhu.mavendemo;

import org.junit.Assert;
import org.junit.Test;

public class HelloWorldTest {

	@Test
	public void testMethod(){
		HelloWorld hw = new HelloWorld();
			int ss= hw.add(1, 1);
			Assert.assertEquals(ss, 2);
			
			int ss2= hw.add(1, 2);
			Assert.assertEquals(ss2, 3);
	}
	
	
}

package com.glzhu.mavendemo;

import org.junit.Assert;
import org.junit.Test;

public class HelloWorldTest {

	@Test
	public void testMethod() {
		HelloWorld hw = new HelloWorld();
		int ss = hw.add(1, 1);
		Assert.assertEquals(ss, 2);

	}

	@Test
	public void testMethod1() {
		HelloWorld hw = new HelloWorld();

		int ss2 = hw.add(1, 2);
		Assert.assertEquals(ss2, 3);
	}

}

change something