blob: df0d0351c7e06f9f41dbb1f13c6a32cb83728828 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
package hello;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class MyAppTests {
@Test
public void coreTest() {
assertEquals(Core.msg(), "Hello World");
}
@Test
public void appTest() {
assertEquals(Main.getMessage(new String[]{"lols"}), "Hello World lols");
}
}
|