commit 4dc8bee48ea392e0e000183294a13cf17b53b85a Author: Johannes Theiner Date: Tue Apr 7 18:43:47 2020 +0200 first commit diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..4a60582 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +*.iml +.idea diff --git a/pom.xml b/pom.xml new file mode 100644 index 0000000..c1cf210 --- /dev/null +++ b/pom.xml @@ -0,0 +1,50 @@ + + + 4.0.0 + + de.hsel + Softwarequalitätssicherung + 1.0-SNAPSHOT + + + 5.6.1 + 11 + + + + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + ${java.version} + ${java.version} + + + + org.apache.maven.plugins + maven-surefire-plugin + 3.0.0-M1 + + + + + + + org.junit.jupiter + junit-jupiter-api + ${junit.version} + test + + + org.junit.jupiter + junit-jupiter-engine + ${junit.version} + + + + + \ No newline at end of file diff --git a/src/main/java/de/hsel/sqs/TriangleChecker.java b/src/main/java/de/hsel/sqs/TriangleChecker.java new file mode 100644 index 0000000..bb47e35 --- /dev/null +++ b/src/main/java/de/hsel/sqs/TriangleChecker.java @@ -0,0 +1,13 @@ +package de.hsel.sqs; + +/** + * @author Johannes Theiner + * @version 0.1 + * @since 0.1 + **/ +public class TriangleChecker { + + public static TriangleType checkTriangle(int a, int b, int c) { + return TriangleType.NO_TRIANGLE; + } +} \ No newline at end of file diff --git a/src/main/java/de/hsel/sqs/TriangleType.java b/src/main/java/de/hsel/sqs/TriangleType.java new file mode 100644 index 0000000..35c1dee --- /dev/null +++ b/src/main/java/de/hsel/sqs/TriangleType.java @@ -0,0 +1,14 @@ +package de.hsel.sqs; + +/** + * @author Johannes Theiner + * @version 0.1 + * @since 0.1 + **/ + +public enum TriangleType { + NO_TRIANGLE, + SCALENE_TRIANGLE, // ungleichseitig + ISOSCELESS_TRIANGLE, // gleichschenklig + EQUILATERAL_TRIANGLE // gleichseitig +} \ No newline at end of file diff --git a/src/test/java/TriangleTest.java b/src/test/java/TriangleTest.java new file mode 100644 index 0000000..53e9fdd --- /dev/null +++ b/src/test/java/TriangleTest.java @@ -0,0 +1,9 @@ +/** + * @author Johannes Theiner + * @version 0.1 + * @since 0.1 + **/ +public class TriangleTest { + + +} \ No newline at end of file