public void TestGetStealDirections() { StealFutureRng future = new StealFutureRng(); StealDirections directions = future.GetStealDirections(); Assert.IsNotNull(directions); }
private void UpdateStealDirectionsData() { StealDirections directions = _futureRng.GetStealDirections(); tbRare.Text = FormUtils.ConvertDirectionsToText( directions.AdvanceForRare); tbRareCuffs.Text = FormUtils.ConvertDirectionsToText( directions.AdvanceForRareCuffs); }
public void TestSetStealDirections() { StealFutureRng future = new StealFutureRng(); StealDirections directions = future.GetStealDirections(); directions.AdvanceForRare = 5; directions.AdvanceForRareCuffs = 24; future.SetStealDirections(directions); StealDirections copy = future.GetStealDirections(); Assert.AreEqual( directions.AdvanceForRare, copy.AdvanceForRare); Assert.AreEqual( directions.AdvanceForRareCuffs, copy.AdvanceForRareCuffs); }