blob: 38bebaebe466173aa3964cf8e5857c10c4b4bf3a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
package hello;
import static org.junit.Assert.assertEquals;
import org.junit.Test;
public class MyCoreTests {
@Test
public void msgTest() {
assertEquals(Core.msg(), "Hello World!!");
}
@Test
public void lengthTest() {
assertEquals(Core.msg().length(), 11);
}
}
|