Skip to content

Commit d920cc8

Browse files
author
Aaron
committed
style: fixed formatting and comments
1 parent e2023a8 commit d920cc8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/test/java/com/thealgorithms/geometry/PointTest.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,20 +40,20 @@ void testOrientation() {
4040
// test for left curve
4141
assertEquals(1, Point.orientation(pA, pB, pC));
4242

43-
//test for right curve
43+
// test for right curve
4444
pB = new Point(0, 1);
4545
assertEquals(-1, Point.orientation(pA, pB, pC));
4646

47-
//test for left curve
47+
// test for left curve
4848
pC = new Point(-1, 1);
4949
assertEquals(1, Point.orientation(pA, pB, pC));
5050

51-
//test for right curve
51+
// test for right curve
5252
pB = new Point(1,0);
5353
pC = new Point(1,-1);
5454
assertEquals(-1, Point.orientation(pA, pB, pC));
5555

56-
//test for collinearity
56+
// test for collinearity
5757
pB = new Point(1, 1);
5858
pC = new Point(2, 2);
5959
assertEquals(0, Point.orientation(pA, pB, pC));

0 commit comments

Comments
 (0)