mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-02-03 10:35:34 +08:00
Update geometry/graham_scan_algorithm.cpp
Co-authored-by: David Leal <halfpacho@gmail.com>
This commit is contained in:
@@ -58,7 +58,7 @@ static void test() {
|
||||
|
||||
derived_result = geometry::grahamscan::convexHull(points, points.size());
|
||||
|
||||
std::cout << "Test#1...";
|
||||
std::cout << "1st test: ";
|
||||
for (int i = 0; i < expected_result.size(); i++) {
|
||||
assert(derived_result[i].x == expected_result[i].x);
|
||||
assert(derived_result[i].y == expected_result[i].y);
|
||||
|
||||
Reference in New Issue
Block a user