From 07b0d85bdfe45194b90efec32deb4c9d7df0168f Mon Sep 17 00:00:00 2001 From: Sandy Brownlee Date: Thu, 8 Sep 2022 17:57:48 +0100 Subject: [PATCH] added test --- Triangle.Compiler/build.gradle | 10 ++++++++-- .../triangle/syntacticAnalyser/TestScanner.java | 14 ++++++++++++++ 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java diff --git a/Triangle.Compiler/build.gradle b/Triangle.Compiler/build.gradle index a27ea3f..62c56de 100644 --- a/Triangle.Compiler/build.gradle +++ b/Triangle.Compiler/build.gradle @@ -3,10 +3,16 @@ apply plugin: 'application' sourceCompatibility = 11 +repositories { + mavenCentral() +} + + dependencies { - implementation project(':Triangle.AbstractMachine') + implementation project(':Solutions.Triangle.AbstractMachine') + testImplementation group: 'junit', name: 'junit', version: '4.13.2' } application { mainClass = 'Triangle.Compiler' -} \ No newline at end of file +} diff --git a/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java b/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java new file mode 100644 index 0000000..6b02c62 --- /dev/null +++ b/Triangle.Compiler/src/test/java/triangle/syntacticAnalyser/TestScanner.java @@ -0,0 +1,14 @@ +package triangle.syntacticAnalyser; + +import static org.junit.Assert.*; + +import org.junit.Test; + +public class TestScanner { + + @Test + public void test() { + fail("Not yet implemented"); + } + +}