diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:41:17 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:41:17 +0100 |
| commit | 6194d284f5559acc5f23a402f577bac655878f92 (patch) | |
| tree | ad3a47c59e5d8179911cb2bd0b88ecd520af2842 /examples/09-imports/output/java | |
| parent | 717cef4b3c757ceefb2a16cdf6c3892cde28b53f (diff) | |
Rename java-junit to java
Diffstat (limited to 'examples/09-imports/output/java')
| -rw-r--r-- | examples/09-imports/output/java/.gitignore | 2 | ||||
| l--------- | examples/09-imports/output/java/pom.xml | 1 | ||||
| -rw-r--r-- | examples/09-imports/output/java/src/test/java/org/zwobble/example/LineTests.java | 15 |
3 files changed, 18 insertions, 0 deletions
diff --git a/examples/09-imports/output/java/.gitignore b/examples/09-imports/output/java/.gitignore new file mode 100644 index 0000000..ff511d4 --- /dev/null +++ b/examples/09-imports/output/java/.gitignore @@ -0,0 +1,2 @@ +/src/gen/ +/target/ diff --git a/examples/09-imports/output/java/pom.xml b/examples/09-imports/output/java/pom.xml new file mode 120000 index 0000000..445fa65 --- /dev/null +++ b/examples/09-imports/output/java/pom.xml @@ -0,0 +1 @@ +../../../templates/java-junit/pom.xml
\ No newline at end of file diff --git a/examples/09-imports/output/java/src/test/java/org/zwobble/example/LineTests.java b/examples/09-imports/output/java/src/test/java/org/zwobble/example/LineTests.java new file mode 100644 index 0000000..c376b19 --- /dev/null +++ b/examples/09-imports/output/java/src/test/java/org/zwobble/example/LineTests.java @@ -0,0 +1,15 @@ +package org.zwobble.example; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import org.junit.jupiter.api.Test; +import org.zwobble.example.types.line.Line; +import org.zwobble.example.types.point.Point; + +public class LineTests { + @Test + public void canConstructLine() { + Point start = new Point(10, 25); + Point end = new Point(25, 10); + Line line = new Line(start, end); + } +} |
