Пример #1
0
 private void WriteStealDirectionsInfo(int rarePosition, int rarePositionCuffs)
 {
     _futureRng.SetStealDirections(new StealDirections
     {
         AdvanceForRare      = rarePosition,
         AdvanceForRareCuffs = rarePositionCuffs
     });
 }
Пример #2
0
        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);
        }