Skip to content

Gojek Mini Bootcamp - Creating library model a line based on points consisting of (x, y) coordinates using the cartesian system and program can calculate its length. Also to check whether the line are equal or not

Notifications You must be signed in to change notification settings

ilhamsurya/GenerasiGigih1.0-Intensive-Geometry-III

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problem Statement

Program can model a line based on points consisting of (x, y) coordinates using the cartesian system and program can calculate its length. Also to check whether the line are equal or not

Pre-requisites:

The project needs these dependencies:

  1. JDK 15.0.2
  2. JUnit 5

Instruction:

How To Build

./gradlew build

How To Test

./gradlew test

How to Use the Line Model

int x1 = 1;
int y1 = 2;
int x2 = 3;
int y2 = 4;

double length = line.length(x1, y1, x2, y2);

About

Gojek Mini Bootcamp - Creating library model a line based on points consisting of (x, y) coordinates using the cartesian system and program can calculate its length. Also to check whether the line are equal or not

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages