Пример #1
0
        public void RuleFlipWorking()
        {
            RulesFlip rulesFlip = new RulesFlip();

            rulesFlip.Start();
            Assert.IsTrue(rulesFlip.GetCoordY().Count != 0);
        }
Пример #2
0
        private void btnStart_Click(object sender, EventArgs e)
        {
            rTxtTest.Clear();
            rTxtFlip.Clear();
            rTxtStabilization.Clear();

            RulesFlip rulesFlip = new RulesFlip();

            Start(rulesFlip, rTxtFlip);
            m_graphFlip.SetPoints(CoordYToPointF(rulesFlip.GetCoordY()));

            RulesStabilization rulesStabilization = new RulesStabilization(rulesFlip.GetAngle(), rulesFlip.GetAngleIncrease());

            Start(rulesStabilization, rTxtStabilization);
            m_graphStabilization.SetPoints(CoordYToPointF(rulesStabilization.GetCoordY()));

            m_graphFlip.Draw();
            m_graphStabilization.Draw();
        }