예제 #1
0
        public void Syntetic_Optimized()
        {
            var MortalRabbits = new MortalRabbits();

            var population = MortalRabbits.simulateRabbitsOptimized(6, 3);

            Assert.AreEqual(4, population);
        }
예제 #2
0
        public void Live_Data_Optimized_2ndTryBigNum()
        {
            var MortalRabbits = new MortalRabbits();

            var population = MortalRabbits.simulateRabbitsOptimizedBigNum(84, 19);

            Assert.AreEqual(population, 159988278874468261);
        }
예제 #3
0
        public void Synthetic()
        {
            var MortalRabbits = new MortalRabbits();

            var population = MortalRabbits.simulateRabbits(6, 3);

            Assert.AreEqual(population, 4);
        }