public void DPSDK_Rotation() { Rawr.DPSDK.CharacterCalculationsDPSDK CalcDPSDK = new Rawr.DPSDK.CharacterCalculationsDPSDK(); CalculationOptionsDPSDK calcOpts = new CalculationOptionsDPSDK(); Rawr.DK.StatsDK TotalStats = new Rawr.DK.StatsDK(); Rawr.DK.DKCombatTable ct = new Rawr.DK.DKCombatTable(m_char, TotalStats, CalcDPSDK, calcOpts, m_char.BossOptions); Rawr.DK.Rotation rot = new Rawr.DK.Rotation(ct, false); rot.PRE_OneEachRot(); rot.ReportRotation(); Assert.IsTrue(rot.m_DPS > 0, "rotation OneEach produces 0 DPS"); rot.PRE_Frost(); rot.ReportRotation(); Assert.IsTrue(rot.m_DPS > 0, "rotation Frost produces 0 DPS"); rot.PRE_Unholy(); rot.ReportRotation(); Assert.IsTrue(rot.m_DPS > 0, "rotation Unholy produces 0 DPS"); rot.PRE_BloodDiseased(); rot.ReportRotation(); Assert.IsTrue(rot.m_DPS > 0, "rotation BloodDiseased produces 0 DPS"); //rot.Solver(); //rot.ReportRotation(); //Assert.IsTrue(rot.m_DPS > 0, "rotation solver produces 0 DPS"); }
public void TankDK_Rotation() { Rawr.TankDK.CharacterCalculationsTankDK CalcTankDK = new Rawr.TankDK.CharacterCalculationsTankDK(); CalculationOptionsTankDK calcOpts = new CalculationOptionsTankDK(); Rawr.DK.StatsDK TotalStats = new Rawr.DK.StatsDK(); Rawr.DPSDK.CharacterCalculationsDPSDK DPSCalcs = new Rawr.DPSDK.CharacterCalculationsDPSDK(); Rawr.DPSDK.CalculationOptionsDPSDK DPSopts = new Rawr.DPSDK.CalculationOptionsDPSDK(); Rawr.DK.DKCombatTable ct = new Rawr.DK.DKCombatTable(m_char, TotalStats, DPSCalcs, DPSopts, m_char.BossOptions); Rawr.DK.Rotation rot = new Rawr.DK.Rotation(ct, false); rot.PRE_BloodDiseased(); Assert.IsTrue(rot.m_TPS > 0, "rotation BloodDiseased produces 0 DPS"); }