Browse Source

Test1

master
Moritz Neumeier 3 years ago
parent
commit
3282adb202

+ 10
- 0
.idea/libraries/jars.xml View File

@@ -0,0 +1,10 @@
<component name="libraryTable">
<library name="jars">
<CLASSES>
<root url="jar://$PROJECT_DIR$/jars/hamcrest-core-1.3.jar!/" />
<root url="jar://$PROJECT_DIR$/jars/junit-4.12.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

+ 6
- 0
.idea/misc.xml View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager" version="2" languageLevel="JDK_16" project-jdk-name="openjdk-17" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

+ 8
- 0
.idea/modules.xml View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/TriangleCheckerAssignment.iml" filepath="$PROJECT_DIR$/TriangleCheckerAssignment.iml" />
</modules>
</component>
</project>

+ 10
- 0
.idea/runConfigurations.xml View File

@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="RunConfigurationProducerService">
<option name="ignoredProducers">
<set>
<option value="com.android.tools.idea.compose.preview.runconfiguration.ComposePreviewRunConfigurationProducer" />
</set>
</option>
</component>
</project>

+ 6
- 0
.idea/vcs.xml View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

BIN
out/production/TriangleCheckerAssignment/TriangleChecker$1.class View File


BIN
out/production/TriangleCheckerAssignment/TriangleChecker$TriangleType.class View File


BIN
out/production/TriangleCheckerAssignment/TriangleChecker.class View File


+ 1
- 0
src/TriangleChecker.java View File

@@ -49,6 +49,7 @@ public class TriangleChecker {
public static TriangleType checkTriangle(float a, float b, float c) {

if(a >= (b+c) || c >= (b+a) || b >= (a+c) ){

return TriangleType.NONE;
}
return TriangleType.NORMAL;

+ 1
- 0
test/TriangleCheckerTest.java View File

@@ -17,6 +17,7 @@ public class TriangleCheckerTest {
// Assert
assertEquals(TriangleChecker.TriangleType.NORMAL, type);

}

}

Loading…
Cancel
Save