コード例 #1
0
 public void IsConvergeTest_2()
 {
     R99_ConvergenceJudge ConvergenceJudge = new R99_ConvergenceJudge(m_Param);
     ConvergenceJudge.IsConverge();
     Assert.AreEqual(ConvergenceJudge.IsConverge(), false);
 }
コード例 #2
0
ファイル: R99_Iteration.cs プロジェクト: xiaoyj/Space
 /// <summary>
 /// 快照前初始化其它部分
 /// </summary>
 private void Initialization()
 {
     m_UpdateData = new UpdateData(m_CommonParam);
     m_ShoStateJudge = new R99_SHOStateJudge(m_CommonParam);
     m_UpdateNetworkPower = new R99_UpdateNetworkPower(m_CommonParam );
     m_PowerCtrl = new R99_PowerCtrl(m_CommonParam);
     m_ConvergenceJudge = new R99_ConvergenceJudge(m_CommonParam);
     m_InitTrafficChPower = new R99_InitTrafficChPower(m_CommonParam );
     m_R99CalcInterfFormOtherSys = new R99_CalcInterfFromOtherSys(m_CommonParam);           
 }
コード例 #3
0
 [Test]//当前迭代次数已达到最大迭代次数
 public void IsConvergeTest_1()
 {
     R99_ConvergenceJudge ConvergenceJudge = new R99_ConvergenceJudge(m_Param);
     m_Param.R99CurIterationTimes = 200;
     Assert.AreEqual(ConvergenceJudge.IsConverge(), true);
 }