コード例 #1
0
        public void PassageThroAscendingNodeWithParabolicObjectElementsTest(AASParabolicObjectElements elements, double expectedT, double expectedRadius)
        {
            AASNodeObjectDetails nodedetails = AASNodes.PassageThroAscendingNode(ref elements);

            Assert.Equal(expectedT, nodedetails.t);
            Assert.Equal(expectedRadius, nodedetails.radius);
        }
コード例 #2
0
        public void PassageThroDescendingNodeTest(AASEllipticalObjectElements elements, double expectedT, double expectedRadius)
        {
            AASNodeObjectDetails nodedetails = AASNodes.PassageThroDescendingNode(ref elements);

            Assert.Equal(expectedT, nodedetails.t);
            Assert.Equal(expectedRadius, nodedetails.radius);
        }