Пример #1
0
        public void Calculateandomlimit()
        {
            int currentCoordinate;
            int mindistance;
            int maxdistance;

            float random = MapCalculations.GetDistanceWithRandom(1000, 50, true);

            Assert.IsFalse(MapCalculations.IsNewSeedAcceptable(2501, 3000, random));
        }
Пример #2
0
        public void Calculateandomlimit()
        {
            float random = MapCalculations.GetDistanceWithRandom(1000, 3000, 1000, 300);

            Assert.IsFalse(MapCalculations.IsNewSeedAcceptable(1000, 3000, 1000, 300, random));
        }