File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
src/test/java/com/thealgorithms/geometry Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,20 +40,20 @@ void testOrientation() {
40
40
// test for left curve
41
41
assertEquals (1 , Point .orientation (pA , pB , pC ));
42
42
43
- //test for right curve
43
+ // test for right curve
44
44
pB = new Point (0 , 1 );
45
45
assertEquals (-1 , Point .orientation (pA , pB , pC ));
46
46
47
- //test for left curve
47
+ // test for left curve
48
48
pC = new Point (-1 , 1 );
49
49
assertEquals (1 , Point .orientation (pA , pB , pC ));
50
50
51
- //test for right curve
51
+ // test for right curve
52
52
pB = new Point (1 ,0 );
53
53
pC = new Point (1 ,-1 );
54
54
assertEquals (-1 , Point .orientation (pA , pB , pC ));
55
55
56
- //test for collinearity
56
+ // test for collinearity
57
57
pB = new Point (1 , 1 );
58
58
pC = new Point (2 , 2 );
59
59
assertEquals (0 , Point .orientation (pA , pB , pC ));
You can’t perform that action at this time.
0 commit comments