diff options
Diffstat (limited to 'scalalib/test/resources/hello-java/core/test/src/MyCoreTests.java')
-rw-r--r-- | scalalib/test/resources/hello-java/core/test/src/MyCoreTests.java | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/scalalib/test/resources/hello-java/core/test/src/MyCoreTests.java b/scalalib/test/resources/hello-java/core/test/src/MyCoreTests.java new file mode 100644 index 00000000..38bebaeb --- /dev/null +++ b/scalalib/test/resources/hello-java/core/test/src/MyCoreTests.java @@ -0,0 +1,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); + } +}
\ No newline at end of file |