public void LineSegment_SharesABaseOrEndPointWith_ShouldReturnFalse_IfNoBaseOrEndPointsAreEqual()
        {
            LineSegment lineSegment1 = new LineSegment(Point.MakePointWithInches(1, 1, 1));
            LineSegment lineSegment2 = new LineSegment(Point.MakePointWithInches(1, 1, 2), Point.MakePointWithInches(2, 2, 2));

            lineSegment1.SharesABaseOrEndPointWith(lineSegment2).Should().BeFalse();
        }
        public void LineSegment_SharesABaseOrEndPointWith_ShouldThrowException_IfPassedLineSegmentIsNull()
        {
            LineSegment lineSegment1 = new LineSegment(Point.MakePointWithInches(1, 1, 1));
            LineSegment lineSegment2 = null;

            Action shares = () => lineSegment1.SharesABaseOrEndPointWith(lineSegment2);
            shares.ShouldThrow<Exception>();
        }
        public void LineSegment_SharesABaseOrEndPointWith_ShouldReturnTrue_IfThisEndPointEqualsPassedBasePoint()
        {
            LineSegment lineSegment1 = new LineSegment(Point.MakePointWithInches(1, 1, 1));
            LineSegment lineSegment2 = new LineSegment(Point.MakePointWithInches(1, 1, 1), Point.MakePointWithInches(2, 2, 2));

            lineSegment1.SharesABaseOrEndPointWith(lineSegment2).Should().BeTrue();
        }