public void TryGetIntersectionFail()
        {
            Line horizontal = new Line(Orientation.horizontal, 0, 3, 0, 0);
            Line vertical   = new Line(Orientation.vertical, 4, 4, -1, 3);

            SolutionDay03 solutionDay03 = new SolutionDay03();

            Assert.IsFalse(solutionDay03.TryGetIntersections(horizontal, vertical, out Point intersection));
        }
        public void TryGetIntersectionSucces()
        {
            Line horizontal = new Line(Orientation.horizontal, 0, 3, 0, 0);
            Line vertical   = new Line(Orientation.vertical, 1, 1, -1, 3);

            SolutionDay03 solutionDay03 = new SolutionDay03();

            if (solutionDay03.TryGetIntersections(horizontal, vertical, out Point intersection))
            {
                Assert.AreEqual(1, intersection.X);
                Assert.AreEqual(0, intersection.Y);
            }
            else
            {
                Assert.Fail();
            }
        }