Skip to content

vgaskov/TriangleTestTask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

This is a Maven based project for a console application implementing solution for Triangle challenge test task written by Vladimir Gaskov. The program asks a user to insert the lengths of the triangle's three sides as input and respond if the given lengths correspond to equilateral, isosceles or scalene triangle or the input lengths cannot correspond to any triangle. If an improper value is inserted, the program responds the value is non-numeric and asks to insert a value again. To exit the program you might want to type 'quit' at any time the program asks you for an input value.
The project contains JUnit test cases and logging its state into a file.

Installation and run

To install the program you need to download the github program's repository, e.g. using the following git command:

git clone https://github.com/vgaskov/TriangleTestTask

You will also need to have istalled JDK 1.8, the proper installation instruction could be found by the link and Maven, the installation manual is located here.
Then go to the project's directory and execute the command:

mvn package

After the command is done, you will find the new directory target which contains TriangleTestTask-0.0.1-SNAPSHOT-jar-with-dependencies.jar and TriangleTestTask-0.0.1-SNAPSHOT.jar. To run the program execute

java -jar TriangleTestTask-0.0.1-SNAPSHOT-jar-with-dependencies.jar

The program reports its state and errors to the program_log.log which could be found in the target folder.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages