public void TestGetChestFutureRng() { ChestRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(88); helper.CalculateRng(100); Assert.IsNotNull(helper.GetChestFutureRng()); }
private void InitializeFutureRng() { const string ps2 = "PS2"; _platform = cbPlatform.SelectedItem as string == ps2 ? PlatformType.Ps2 : PlatformType.Ps4; _rngHelper = new ChestRngHelper(_platform, _group, _chests); }
public void TestGetNextExpecteHealValue() { ChestRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(94); helper.FindNextRngPosition(89); helper.FindNextRngPosition(97); helper.CalculateRng(100); Assert.AreEqual(94, helper.GetNextExpectedHealValue()); }
public void TestGetAttacksUntilNextCombo() { ChestRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(89); helper.FindNextRngPosition(87); helper.FindNextRngPosition(97); helper.CalculateRng(100); Assert.AreEqual(6, helper.GetAttacksUntilNextCombo()); }
public void TestConsumeNextNRngPositions() { ChestRngHelper helper = GetDefaultHelper(); helper.FindFirstRngPosition(94); helper.FindNextRngPosition(89); Assert.IsTrue(helper.ConsumeNextNRngPositions(10)); helper.FindNextRngPosition(95); helper.CalculateRng(100); Assert.AreEqual(94, helper.GetNextExpectedHealValue()); }
public void TestGetChestFutureRngNotNull() { ChestRngHelper helper = GetDefaultHelper(); Assert.IsNotNull(helper.GetChestFutureRng()); }