From 4be93f3404350a03b6ad835c99621c85c5bf10b9 Mon Sep 17 00:00:00 2001 From: Sem van der Hoeven Date: Mon, 2 Dec 2019 21:58:01 +0100 Subject: [PATCH] generated maven project --- pom.xml | 18 +++++++++ src/main/java/brainfuck/interpreter/App.java | 13 +++++++ .../java/brainfuck/interpreter/AppTest.java | 38 +++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 pom.xml create mode 100644 src/main/java/brainfuck/interpreter/App.java create mode 100644 src/test/java/brainfuck/interpreter/AppTest.java diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..5d4dbfe --- /dev/null +++ b/pom.xml @@ -0,0 +1,18 @@ + + 4.0.0 + brainfuck.interpreter + BrainfuckInterpreter + jar + 1.0-SNAPSHOT + BrainfuckInterpreter + http://maven.apache.org + + + junit + junit + 3.8.1 + test + + + diff --git a/src/main/java/brainfuck/interpreter/App.java b/src/main/java/brainfuck/interpreter/App.java new file mode 100644 index 0000000..3bc2c66 --- /dev/null +++ b/src/main/java/brainfuck/interpreter/App.java @@ -0,0 +1,13 @@ +package brainfuck.interpreter; + +/** + * Hello world! + * + */ +public class App +{ + public static void main( String[] args ) + { + System.out.println( "Hello World!" ); + } +} diff --git a/src/test/java/brainfuck/interpreter/AppTest.java b/src/test/java/brainfuck/interpreter/AppTest.java new file mode 100644 index 0000000..b090c7a --- /dev/null +++ b/src/test/java/brainfuck/interpreter/AppTest.java @@ -0,0 +1,38 @@ +package brainfuck.interpreter; + +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 ); + } +}