diff --git a/test/test_bresenham_line.cpp b/test/test_bresenham_line.cpp index 2ad91abf..efdfefaf 100644 --- a/test/test_bresenham_line.cpp +++ b/test/test_bresenham_line.cpp @@ -33,22 +33,22 @@ SOFTWARE. #include #include +using Value = char; + +using Point = etl::coordinate_2d; + +std::ostream& operator << (std::ostream& os, const Point& point) +{ + os << "(" << int(point.x) << "," << int(point.y) << ")"; + return os; +} + namespace { - using Value = char; - - using Point = etl::coordinate_2d; - using BresenhamLine = etl::bresenham_line; SUITE(test_bresenham_line) { - std::ostream& operator << (std::ostream & os, const Point & point) - { - os << "(" << int(point.x) << "," << int(point.y) << ")"; - return os; - } - //************************************************************************* TEST(horizontal_line_left_right) {