first commit
This commit is contained in:
commit
4dc8bee48e
2
.gitignore
vendored
Normal file
2
.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
||||
*.iml
|
||||
.idea
|
50
pom.xml
Normal file
50
pom.xml
Normal 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>
|
13
src/main/java/de/hsel/sqs/TriangleChecker.java
Normal file
13
src/main/java/de/hsel/sqs/TriangleChecker.java
Normal 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;
|
||||
}
|
||||
}
|
14
src/main/java/de/hsel/sqs/TriangleType.java
Normal file
14
src/main/java/de/hsel/sqs/TriangleType.java
Normal 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
|
||||
}
|
9
src/test/java/TriangleTest.java
Normal file
9
src/test/java/TriangleTest.java
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* @author Johannes Theiner
|
||||
* @version 0.1
|
||||
* @since 0.1
|
||||
**/
|
||||
public class TriangleTest {
|
||||
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user