private void WriteStealDirectionsInfo(int rarePosition, int rarePositionCuffs) { _futureRng.SetStealDirections(new StealDirections { AdvanceForRare = rarePosition, AdvanceForRareCuffs = rarePositionCuffs }); }
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); }