public void TestGetStealFutureRng() { StealRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(88); helper.CalculateRng(100); Assert.IsNotNull(helper.GetStealFutureRng()); }
public void TestGetNextExpecteHealValue() { StealRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(94); helper.FindNextRngPosition(89); helper.FindNextRngPosition(97); helper.CalculateRng(100); Assert.AreEqual(94, helper.GetNextExpectedHealValue()); }
public void TestGetAttacksUntilNextCombo() { StealRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(89); helper.FindNextRngPosition(87); helper.FindNextRngPosition(97); helper.CalculateRng(100); Assert.AreEqual(6, helper.GetAttacksUntilNextCombo()); }
private void btnBegin_Click(object sender, EventArgs e) { SetContinueButtonsEnabledStatus(true); LoadData(); if (!_rngHelper.FindFirstRngPosition(int.Parse(tbLastHeal.Text))) { SetContinueButtonsEnabledStatus(false); HandleImpossibleHealVal(); return; } int numRows = FormUtils.ParseNumRows(tbNumRows.Text); _rngHelper.CalculateRng(numRows); DisplayFutureRng(); }