#include "point.h" bool Point::operator==(const Point &other) const { return (x == other.x) && (y == other.y); } std::ostream &operator<<(std::ostream &os, Point const &p) { return os << "(" << p.x << "," << p.y << ")"; }