We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2023a8 commit d920cc8Copy full SHA for d920cc8
1 file changed
src/test/java/com/thealgorithms/geometry/PointTest.java
@@ -40,20 +40,20 @@ void testOrientation() {
40
// test for left curve
41
assertEquals(1, Point.orientation(pA, pB, pC));
42
43
- //test for right curve
+ // test for right curve
44
pB = new Point(0, 1);
45
assertEquals(-1, Point.orientation(pA, pB, pC));
46
47
- //test for left curve
+ // test for left curve
48
pC = new Point(-1, 1);
49
50
51
52
pB = new Point(1,0);
53
pC = new Point(1,-1);
54
55
56
- //test for collinearity
+ // test for collinearity
57
pB = new Point(1, 1);
58
pC = new Point(2, 2);
59
assertEquals(0, Point.orientation(pA, pB, pC));
0 commit comments