예제 #1
0
        public void TestGetStealDirections()
        {
            StealFutureRng  future     = new StealFutureRng();
            StealDirections directions = future.GetStealDirections();

            Assert.IsNotNull(directions);
        }
예제 #2
0
        private void UpdateStealDirectionsData()
        {
            StealDirections directions = _futureRng.GetStealDirections();

            tbRare.Text = FormUtils.ConvertDirectionsToText(
                directions.AdvanceForRare);
            tbRareCuffs.Text = FormUtils.ConvertDirectionsToText(
                directions.AdvanceForRareCuffs);
        }
예제 #3
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);
        }