|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
Go to the source code of this file.
Classes | |
| class | PointTest |
| class | PolarPointTest |
| class | SegmentTest |
| class | TriangleTest |
| class | RectangleTest |
| class | EllipseTest |
Functions | |
| bool | approx_equal (const Geom_Number &a, const Geom_Number &b, double tol=EPSILON) |
| bool | approx_equal (double a, double b, double tol=EPSILON) |
| TEST_F (PointTest, DefaultConstruction) | |
| TEST_F (PointTest, ParameterizedConstruction) | |
| TEST_F (PointTest, Equality) | |
| TEST_F (PointTest, Addition) | |
| TEST_F (PointTest, AdditionAssignment) | |
| TEST_F (PointTest, Subtraction) | |
| TEST_F (PointTest, SubtractionAssignment) | |
| TEST_F (PointTest, ToString) | |
| TEST_F (PointTest, StringCastOperator) | |
| TEST_F (PointTest, DistanceWith) | |
| TEST_F (PointTest, DistanceSquaredTo) | |
| TEST_F (PointTest, IsColinearWithPoints) | |
| TEST_F (PointTest, IsToLeftFrom) | |
| TEST_F (PointTest, IsToRightFrom) | |
| TEST_F (PointTest, IsToLeftOnFrom) | |
| TEST_F (PointTest, IsClockwiseWith) | |
| TEST_F (PointTest, IsBetween) | |
| TEST_F (PointTest, NearestPoint) | |
| TEST_F (PointTest, HighestLowestLeftmostRightmost) | |
| TEST_F (PolarPointTest, ConversionFromCartesian) | |
| TEST_F (PolarPointTest, ConversionToCartesian) | |
| TEST_F (PolarPointTest, RoundTripConversion) | |
| TEST_F (PolarPointTest, QuadrantFirst) | |
| TEST_F (PolarPointTest, QuadrantSecond) | |
| TEST_F (PolarPointTest, QuadrantThird) | |
| TEST_F (PolarPointTest, QuadrantFourth) | |
| TEST_F (PolarPointTest, ToString) | |
| TEST_F (PolarPointTest, DefaultConstruction) | |
| TEST_F (SegmentTest, DefaultConstruction) | |
| TEST_F (SegmentTest, TwoPointConstruction) | |
| TEST_F (SegmentTest, Equality) | |
| TEST_F (SegmentTest, Size) | |
| TEST_F (SegmentTest, Slope) | |
| TEST_F (SegmentTest, MidPoint) | |
| TEST_F (SegmentTest, HighestPoint) | |
| TEST_F (SegmentTest, LowestPoint) | |
| TEST_F (SegmentTest, LeftmostPoint) | |
| TEST_F (SegmentTest, RightmostPoint) | |
| TEST_F (SegmentTest, ContainsToPoint) | |
| TEST_F (SegmentTest, IsColinearWith) | |
| TEST_F (SegmentTest, IsParallelWith) | |
| TEST_F (SegmentTest, IntersectsWith) | |
| TEST_F (SegmentTest, IntersectsProperlyWith) | |
| TEST_F (SegmentTest, IntersectionWith) | |
| TEST_F (SegmentTest, IntersectionWithParallelThrows) | |
| TEST_F (SegmentTest, SenseEast) | |
| TEST_F (SegmentTest, SenseWest) | |
| TEST_F (SegmentTest, SenseNorth) | |
| TEST_F (SegmentTest, SenseSouth) | |
| TEST_F (SegmentTest, SenseNorthEast) | |
| TEST_F (SegmentTest, SenseSouthWest) | |
| TEST_F (SegmentTest, SenseNorthWest) | |
| TEST_F (SegmentTest, SenseSouthEast) | |
| TEST_F (SegmentTest, ToString) | |
| TEST_F (SegmentTest, Rotate) | |
| TEST_F (SegmentTest, GetPerpendicular) | |
| TEST_F (SegmentTest, CounterclockwiseAngle) | |
| TEST_F (TriangleTest, ThreePointConstruction) | |
| TEST_F (TriangleTest, ConstructionFromPointAndSegment) | |
| TEST_F (TriangleTest, ConstructionFromSegmentAndPoint) | |
| TEST_F (TriangleTest, CollinearPointsThrow) | |
| TEST_F (TriangleTest, Area) | |
| TEST_F (TriangleTest, ContainsTo) | |
| TEST_F (TriangleTest, HighestPoint) | |
| TEST_F (TriangleTest, LowestPoint) | |
| TEST_F (TriangleTest, LeftmostPoint) | |
| TEST_F (TriangleTest, RightmostPoint) | |
| TEST_F (TriangleTest, IsClockwise) | |
| TEST_F (RectangleTest, DefaultConstruction) | |
| TEST_F (RectangleTest, ParameterizedConstruction) | |
| TEST_F (RectangleTest, InvalidRectangleThrows) | |
| TEST_F (RectangleTest, Width) | |
| TEST_F (RectangleTest, Height) | |
| TEST_F (RectangleTest, Contains) | |
| TEST_F (RectangleTest, Intersects) | |
| TEST_F (RectangleTest, DistanceSquaredTo) | |
| TEST_F (RectangleTest, DistanceTo) | |
| TEST_F (RectangleTest, SetRect) | |
| TEST_F (RectangleTest, SetRectInvalidThrows) | |
| TEST_F (EllipseTest, DefaultConstruction) | |
| TEST_F (EllipseTest, ParameterizedConstruction) | |
| TEST_F (EllipseTest, CopyConstruction) | |
| TEST_F (EllipseTest, HighestPoint) | |
| TEST_F (EllipseTest, LowestPoint) | |
| TEST_F (EllipseTest, LeftmostPoint) | |
| TEST_F (EllipseTest, RightmostPoint) | |
| TEST_F (EllipseTest, ContainsToCenter) | |
| TEST_F (EllipseTest, ContainsToInside) | |
| TEST_F (EllipseTest, ContainsToOutside) | |
| TEST_F (EllipseTest, ContainsToOnBorder) | |
| TEST_F (EllipseTest, IntersectsWithPointOnBorder) | |
| TEST_F (EllipseTest, IsClockwise) | |
| TEST_F (EllipseTest, PointIsInsideEllipse) | |
| TEST (HelperFunctionTest, AreaOfParallelogram) | |
| TEST (HelperFunctionTest, AreaOfParallelogramNegative) | |
| TEST (HelperFunctionTest, Pitag) | |
| TEST (HelperFunctionTest, PitagZero) | |
| TEST (HelperFunctionTest, Arctan) | |
| TEST (HelperFunctionTest, Arctan2) | |
| TEST (HelperFunctionTest, Sinus) | |
| TEST (HelperFunctionTest, Cosinus) | |
| TEST (HelperFunctionTest, SquareRoot) | |
| TEST (HelperFunctionTest, GeomNumberToDouble) | |
| TEST (TextTest, AproximateStringSizeSimple) | |
| TEST (TextTest, AproximateStringSizeWithLatex) | |
| TEST (TextTest, AproximateStringSizeWithDollarSigns) | |
| TEST (TextTest, AproximateStringSizeWithBraces) | |
| TEST (TextTest, TextConstruction) | |
| TEST (TextTest, TextDefaultConstruction) | |
| TEST (TextTest, TextBoundingPoints) | |
| TEST (GeomObjectTest, VirtualDestructor) | |
| TEST (NullPointTest, Exists) | |
| TEST (EdgeCaseTest, VerticalSegmentSlope) | |
| TEST (EdgeCaseTest, VerticalSegmentSlopeNegative) | |
| TEST (EdgeCaseTest, SegmentConstructionWithSlopeAndLength) | |
| TEST (EdgeCaseTest, ParallelSegmentOffset) | |
| TEST (EdgeCaseTest, SegmentEnlargeSrc) | |
| TEST (EdgeCaseTest, SegmentEnlargeTgt) | |
| TEST (EdgeCaseTest, ZeroAreaTriangleFails) | |
| TEST (EdgeCaseTest, PointOnSegment) | |
| TEST (EdgeCaseTest, MidPerpendicular) | |
| TEST (SegmentTriangleTest, SegmentIntersectsTriangle) | |
| TEST (SegmentTriangleTest, SegmentDoesNotIntersectTriangle) | |
| int | main (int argc, char **argv) |
Variables | |
| constexpr double | EPSILON = 1e-9 |
Tests for Point.
Comprehensive test suite for point.H geometry module.
Tests cover:
Definition in file point_test.cc.
| bool approx_equal | ( | const Geom_Number & | a, |
| const Geom_Number & | b, | ||
| double | tol = EPSILON |
||
| ) |
Definition at line 62 of file point_test.cc.
References __gmp_expr< mpq_t, mpq_t >::get_d(), and Aleph::maps().
Referenced by TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), TEST_F(), and TEST_F().
| bool approx_equal | ( | double | a, |
| double | b, | ||
| double | tol = EPSILON |
||
| ) |
Definition at line 68 of file point_test.cc.
References Aleph::maps().
| int main | ( | int | argc, |
| char ** | argv | ||
| ) |
Definition at line 1115 of file point_test.cc.
References Aleph::maps().
| TEST | ( | EdgeCaseTest | , |
| MidPerpendicular | |||
| ) |
Definition at line 1079 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST | ( | EdgeCaseTest | , |
| ParallelSegmentOffset | |||
| ) |
Definition at line 1032 of file point_test.cc.
References approx_equal(), Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | EdgeCaseTest | , |
| PointOnSegment | |||
| ) |
Definition at line 1071 of file point_test.cc.
References Aleph::maps().
| TEST | ( | EdgeCaseTest | , |
| SegmentConstructionWithSlopeAndLength | |||
| ) |
Definition at line 1021 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST | ( | EdgeCaseTest | , |
| SegmentEnlargeSrc | |||
| ) |
Definition at line 1043 of file point_test.cc.
References Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | EdgeCaseTest | , |
| SegmentEnlargeTgt | |||
| ) |
Definition at line 1054 of file point_test.cc.
References Aleph::maps(), and Aleph::HTList::size().
| TEST | ( | EdgeCaseTest | , |
| VerticalSegmentSlope | |||
| ) |
Definition at line 1007 of file point_test.cc.
References Aleph::maps(), and Aleph::vertical.
| TEST | ( | EdgeCaseTest | , |
| VerticalSegmentSlopeNegative | |||
| ) |
Definition at line 1014 of file point_test.cc.
References Aleph::maps(), and Aleph::vertical.
| TEST | ( | EdgeCaseTest | , |
| ZeroAreaTriangleFails | |||
| ) |
Definition at line 1065 of file point_test.cc.
References Aleph::maps().
| TEST | ( | GeomObjectTest | , |
| VirtualDestructor | |||
| ) |
Definition at line 985 of file point_test.cc.
References Aleph::maps().
| TEST | ( | HelperFunctionTest | , |
| Arctan | |||
| ) |
Definition at line 885 of file point_test.cc.
References approx_equal(), arctan(), __gmp_expr< mpq_t, mpq_t >::get_d(), Aleph::maps(), and PI.
| TEST | ( | HelperFunctionTest | , |
| Arctan2 | |||
| ) |
Definition at line 891 of file point_test.cc.
References approx_equal(), arctan2(), __gmp_expr< mpq_t, mpq_t >::get_d(), Aleph::maps(), and PI.
| TEST | ( | HelperFunctionTest | , |
| AreaOfParallelogram | |||
| ) |
Definition at line 853 of file point_test.cc.
References area_of_parallelogram(), and Aleph::maps().
| TEST | ( | HelperFunctionTest | , |
| AreaOfParallelogramNegative | |||
| ) |
Definition at line 863 of file point_test.cc.
References area_of_parallelogram(), and Aleph::maps().
| TEST | ( | HelperFunctionTest | , |
| Cosinus | |||
| ) |
Definition at line 903 of file point_test.cc.
References approx_equal(), cosinus(), __gmp_expr< mpq_t, mpq_t >::get_d(), and Aleph::maps().
| TEST | ( | HelperFunctionTest | , |
| GeomNumberToDouble | |||
| ) |
Definition at line 915 of file point_test.cc.
References approx_equal(), geom_number_to_double(), and Aleph::maps().
| TEST | ( | HelperFunctionTest | , |
| Pitag | |||
| ) |
Definition at line 873 of file point_test.cc.
References approx_equal(), Aleph::maps(), and pitag().
| TEST | ( | HelperFunctionTest | , |
| PitagZero | |||
| ) |
Definition at line 879 of file point_test.cc.
References approx_equal(), Aleph::maps(), and pitag().
| TEST | ( | HelperFunctionTest | , |
| Sinus | |||
| ) |
Definition at line 897 of file point_test.cc.
References approx_equal(), __gmp_expr< mpq_t, mpq_t >::get_d(), Aleph::maps(), PI, and sinus().
| TEST | ( | HelperFunctionTest | , |
| SquareRoot | |||
| ) |
Definition at line 909 of file point_test.cc.
References approx_equal(), __gmp_expr< mpq_t, mpq_t >::get_d(), Aleph::maps(), and square_root().
| TEST | ( | NullPointTest | , |
| Exists | |||
| ) |
Definition at line 996 of file point_test.cc.
References Point::get_x(), Point::get_y(), Aleph::maps(), and NullPoint.
| TEST | ( | SegmentTriangleTest | , |
| SegmentDoesNotIntersectTriangle | |||
| ) |
Definition at line 1103 of file point_test.cc.
References Aleph::maps().
| TEST | ( | SegmentTriangleTest | , |
| SegmentIntersectsTriangle | |||
| ) |
Definition at line 1095 of file point_test.cc.
References Aleph::maps().
| TEST | ( | TextTest | , |
| AproximateStringSizeSimple | |||
| ) |
Definition at line 926 of file point_test.cc.
References aproximate_string_size(), and Aleph::maps().
| TEST | ( | TextTest | , |
| AproximateStringSizeWithBraces | |||
| ) |
Definition at line 947 of file point_test.cc.
References aproximate_string_size(), and Aleph::maps().
| TEST | ( | TextTest | , |
| AproximateStringSizeWithDollarSigns | |||
| ) |
Definition at line 940 of file point_test.cc.
References aproximate_string_size(), and Aleph::maps().
| TEST | ( | TextTest | , |
| AproximateStringSizeWithLatex | |||
| ) |
Definition at line 933 of file point_test.cc.
References aproximate_string_size(), and Aleph::maps().
| TEST | ( | TextTest | , |
| TextBoundingPoints | |||
| ) |
Definition at line 970 of file point_test.cc.
References Aleph::maps().
| TEST | ( | TextTest | , |
| TextConstruction | |||
| ) |
Definition at line 954 of file point_test.cc.
References Aleph::maps().
| TEST | ( | TextTest | , |
| TextDefaultConstruction | |||
| ) |
Definition at line 964 of file point_test.cc.
| TEST_F | ( | EllipseTest | , |
| ContainsToCenter | |||
| ) |
Definition at line 809 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| ContainsToInside | |||
| ) |
Definition at line 814 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| ContainsToOnBorder | |||
| ) |
Definition at line 826 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| ContainsToOutside | |||
| ) |
Definition at line 820 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| CopyConstruction | |||
| ) |
Definition at line 773 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 760 of file point_test.cc.
| TEST_F | ( | EllipseTest | , |
| HighestPoint | |||
| ) |
Definition at line 781 of file point_test.cc.
References h, Point::highest_point(), and Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| IntersectsWithPointOnBorder | |||
| ) |
Definition at line 832 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| IsClockwise | |||
| ) |
Definition at line 838 of file point_test.cc.
References Ellipse::is_clockwise(), and Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| LeftmostPoint | |||
| ) |
Definition at line 795 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| LowestPoint | |||
| ) |
Definition at line 788 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| ParameterizedConstruction | |||
| ) |
Definition at line 766 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| PointIsInsideEllipse | |||
| ) |
Definition at line 843 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | EllipseTest | , |
| RightmostPoint | |||
| ) |
Definition at line 802 of file point_test.cc.
References Point::get_x(), Point::get_y(), Aleph::maps(), and Point::rightmost_point().
| TEST_F | ( | PointTest | , |
| Addition | |||
| ) |
Definition at line 105 of file point_test.cc.
References Aleph::maps(), and Aleph::sum().
| TEST_F | ( | PointTest | , |
| AdditionAssignment | |||
| ) |
Definition at line 112 of file point_test.cc.
References Point::get_x(), Point::get_y(), and Aleph::maps().
| TEST_F | ( | PointTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 86 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| DistanceSquaredTo | |||
| ) |
Definition at line 156 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| DistanceWith | |||
| ) |
Definition at line 148 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | PointTest | , |
| Equality | |||
| ) |
Definition at line 98 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| HighestLowestLeftmostRightmost | |||
| ) |
Definition at line 238 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsBetween | |||
| ) |
Definition at line 217 of file point_test.cc.
References between(), and Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsClockwiseWith | |||
| ) |
Definition at line 208 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsColinearWithPoints | |||
| ) |
Definition at line 164 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsToLeftFrom | |||
| ) |
Definition at line 175 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsToLeftOnFrom | |||
| ) |
Definition at line 197 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| IsToRightFrom | |||
| ) |
Definition at line 186 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| NearestPoint | |||
| ) |
Definition at line 228 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| ParameterizedConstruction | |||
| ) |
Definition at line 92 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| StringCastOperator | |||
| ) |
Definition at line 142 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PointTest | , |
| Subtraction | |||
| ) |
Definition at line 120 of file point_test.cc.
References Aleph::diff(), and Aleph::maps().
| TEST_F | ( | PointTest | , |
| SubtractionAssignment | |||
| ) |
Definition at line 127 of file point_test.cc.
References Point::get_x(), Point::get_y(), and Aleph::maps().
| TEST_F | ( | PointTest | , |
| ToString | |||
| ) |
Definition at line 135 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| ConversionFromCartesian | |||
| ) |
Definition at line 257 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| ConversionToCartesian | |||
| ) |
Definition at line 262 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 314 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| QuadrantFirst | |||
| ) |
Definition at line 279 of file point_test.cc.
References Polar_Point::First, and Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| QuadrantFourth | |||
| ) |
Definition at line 300 of file point_test.cc.
References Polar_Point::Fourth, and Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| QuadrantSecond | |||
| ) |
Definition at line 286 of file point_test.cc.
References Aleph::maps(), and Polar_Point::Second.
| TEST_F | ( | PolarPointTest | , |
| QuadrantThird | |||
| ) |
Definition at line 293 of file point_test.cc.
References Aleph::maps(), and Polar_Point::Third.
| TEST_F | ( | PolarPointTest | , |
| RoundTripConversion | |||
| ) |
Definition at line 269 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | PolarPointTest | , |
| ToString | |||
| ) |
Definition at line 307 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| Contains | |||
| ) |
Definition at line 695 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 662 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| DistanceSquaredTo | |||
| ) |
Definition at line 715 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| DistanceTo | |||
| ) |
Definition at line 724 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| Height | |||
| ) |
Definition at line 690 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| Intersects | |||
| ) |
Definition at line 706 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| InvalidRectangleThrows | |||
| ) |
Definition at line 679 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| ParameterizedConstruction | |||
| ) |
Definition at line 671 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| SetRect | |||
| ) |
Definition at line 731 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| SetRectInvalidThrows | |||
| ) |
Definition at line 742 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | RectangleTest | , |
| Width | |||
| ) |
Definition at line 685 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| ContainsToPoint | |||
| ) |
Definition at line 410 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| CounterclockwiseAngle | |||
| ) |
Definition at line 548 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| DefaultConstruction | |||
| ) |
Definition at line 338 of file point_test.cc.
| TEST_F | ( | SegmentTest | , |
| Equality | |||
| ) |
Definition at line 350 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| GetPerpendicular | |||
| ) |
Definition at line 537 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| HighestPoint | |||
| ) |
Definition at line 382 of file point_test.cc.
References h, Point::highest_point(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IntersectionWith | |||
| ) |
Definition at line 456 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IntersectionWithParallelThrows | |||
| ) |
Definition at line 466 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IntersectsProperlyWith | |||
| ) |
Definition at line 448 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IntersectsWith | |||
| ) |
Definition at line 438 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IsColinearWith | |||
| ) |
Definition at line 419 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| IsParallelWith | |||
| ) |
Definition at line 428 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| LeftmostPoint | |||
| ) |
Definition at line 396 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| LowestPoint | |||
| ) |
Definition at line 389 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| MidPoint | |||
| ) |
Definition at line 375 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| RightmostPoint | |||
| ) |
Definition at line 403 of file point_test.cc.
References Point::get_x(), Aleph::maps(), and Point::rightmost_point().
| TEST_F | ( | SegmentTest | , |
| Rotate | |||
| ) |
Definition at line 528 of file point_test.cc.
References approx_equal(), Aleph::maps(), and PI.
| TEST_F | ( | SegmentTest | , |
| SenseEast | |||
| ) |
Definition at line 474 of file point_test.cc.
References Segment::E, and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| SenseNorth | |||
| ) |
Definition at line 486 of file point_test.cc.
References Aleph::maps(), and Segment::N.
| TEST_F | ( | SegmentTest | , |
| SenseNorthEast | |||
| ) |
Definition at line 498 of file point_test.cc.
References Aleph::maps(), and Segment::NE.
| TEST_F | ( | SegmentTest | , |
| SenseNorthWest | |||
| ) |
Definition at line 510 of file point_test.cc.
References Aleph::maps(), and Segment::NW.
| TEST_F | ( | SegmentTest | , |
| SenseSouth | |||
| ) |
Definition at line 492 of file point_test.cc.
References Aleph::maps(), and Segment::S.
| TEST_F | ( | SegmentTest | , |
| SenseSouthEast | |||
| ) |
Definition at line 516 of file point_test.cc.
References Aleph::maps(), and Segment::SE.
| TEST_F | ( | SegmentTest | , |
| SenseSouthWest | |||
| ) |
Definition at line 504 of file point_test.cc.
References Aleph::maps(), and Segment::SW.
| TEST_F | ( | SegmentTest | , |
| SenseWest | |||
| ) |
Definition at line 480 of file point_test.cc.
References Aleph::maps(), and Segment::W.
| TEST_F | ( | SegmentTest | , |
| Size | |||
| ) |
Definition at line 360 of file point_test.cc.
References approx_equal(), Aleph::maps(), and Aleph::HTList::size().
| TEST_F | ( | SegmentTest | , |
| Slope | |||
| ) |
Definition at line 369 of file point_test.cc.
References approx_equal(), and Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| ToString | |||
| ) |
Definition at line 522 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | SegmentTest | , |
| TwoPointConstruction | |||
| ) |
Definition at line 344 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| Area | |||
| ) |
Definition at line 600 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| CollinearPointsThrow | |||
| ) |
Definition at line 591 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| ConstructionFromPointAndSegment | |||
| ) |
Definition at line 575 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| ConstructionFromSegmentAndPoint | |||
| ) |
Definition at line 583 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| ContainsTo | |||
| ) |
Definition at line 607 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| HighestPoint | |||
| ) |
Definition at line 616 of file point_test.cc.
References h, Point::highest_point(), and Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| IsClockwise | |||
| ) |
Definition at line 640 of file point_test.cc.
References Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| LeftmostPoint | |||
| ) |
Definition at line 628 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| LowestPoint | |||
| ) |
Definition at line 622 of file point_test.cc.
References l, and Aleph::maps().
| TEST_F | ( | TriangleTest | , |
| RightmostPoint | |||
| ) |
Definition at line 634 of file point_test.cc.
References Point::get_x(), Aleph::maps(), and Point::rightmost_point().
| TEST_F | ( | TriangleTest | , |
| ThreePointConstruction | |||
| ) |
Definition at line 568 of file point_test.cc.
References Aleph::maps().
|
constexpr |
Definition at line 59 of file point_test.cc.