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() {
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 ));
You can’t perform that action at this time.
0 commit comments