diff options
| author | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-25 12:22:56 -0300 |
|---|---|---|
| committer | Benjamin J. Culkin <bjculkin@mix.wvu.edu> | 2017-10-25 12:22:56 -0300 |
| commit | cb9b235a59a2e136f3b850966a8820dee2f90969 (patch) | |
| tree | 8da1ee90f36ddc3f9e7ac7443b0ca087ab2bf2c2 /dice/src | |
| parent | 7bda9de511a5642efb297eae98c6ea7c42b27754 (diff) | |
Start splitting dice to a new module
Diffstat (limited to 'dice/src')
| -rw-r--r-- | dice/src/main/java/bjc/dicelang/App.java | 13 | ||||
| -rw-r--r-- | dice/src/test/java/bjc/dicelang/AppTest.java | 38 |
2 files changed, 51 insertions, 0 deletions
diff --git a/dice/src/main/java/bjc/dicelang/App.java b/dice/src/main/java/bjc/dicelang/App.java new file mode 100644 index 0000000..694bd75 --- /dev/null +++ b/dice/src/main/java/bjc/dicelang/App.java @@ -0,0 +1,13 @@ +package bjc.dicelang; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/dice/src/test/java/bjc/dicelang/AppTest.java b/dice/src/test/java/bjc/dicelang/AppTest.java new file mode 100644 index 0000000..6ffe98a --- /dev/null +++ b/dice/src/test/java/bjc/dicelang/AppTest.java @@ -0,0 +1,38 @@ +package bjc.dicelang; + +import junit.framework.Test; +import junit.framework.TestCase; +import junit.framework.TestSuite; + +/** + * Unit test for simple App. + */ +public class AppTest + extends TestCase +{ + /** + * Create the test case + * + * @param testName name of the test case + */ + public AppTest( String testName ) + { + super( testName ); + } + + /** + * @return the suite of tests being tested + */ + public static Test suite() + { + return new TestSuite( AppTest.class ); + } + + /** + * Rigourous Test :-) + */ + public void testApp() + { + assertTrue( true ); + } +} |
