示例#1
0
            public void UnknownTest()
            {
                InnerTangentLinesIntersectionPointCalculator calculator =
                    InnerTangentLinesIntersectionPointCalculator.Unknown;

                Assert.True(calculator.IsUnknown,
                            "IsUnknown");
                Assert.AreEqual(Point.Unknown,
                                calculator.IntersectionPoint,
                                "IntersectionPoint");
            }
示例#2
0
            public void Setup()
            {
                m_One = new Circle(new Point(3.0,
                                             -5.0),
                                   4.0);
                m_Two = new Circle(new Point(-2.0,
                                             2.0),
                                   1.0);
                m_Pair = new CirclePair(m_One,
                                        m_Two);

                m_Calculator = new InnerTangentLinesIntersectionPointCalculator(m_Pair);
            }