2
0

first commit

This commit is contained in:
Johannes Theiner 2020-04-07 18:43:47 +02:00
commit 4dc8bee48e
5 changed files with 88 additions and 0 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
*.iml
.idea

50
pom.xml Normal file
View File

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>de.hsel</groupId>
<artifactId>Softwarequalitätssicherung</artifactId>
<version>1.0-SNAPSHOT</version>
<properties>
<junit.version>5.6.1</junit.version>
<java.version>11</java.version>
</properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M1</version>
</plugin>
</plugins>
</build>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency>
</dependencies>
</project>

View File

@ -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;
}
}

View File

@ -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
}

View File

@ -0,0 +1,9 @@
/**
* @author Johannes Theiner
* @version 0.1
* @since 0.1
**/
public class TriangleTest {
}