public void TestGetAllSlowerThanGivenSpeedWorksSuccessfuly()
        {
            var legion = new Legion();

            for (int i = 0; i < 20; i++)
            {
                legion.Create(new Kamikaze(i, i * 2));
            }


            var fasterEnemies = legion.GetSlower(9);

            Assert.IsTrue(fasterEnemies.All(e => e.AttackSpeed < 9));
        }
        public void GetOrderedByHealth_1000_Enemies()
        {
            IArmy     legion = new Legion();
            Random    rnd    = new Random();
            Stopwatch sw     = new Stopwatch();

            for (int i = 0; i < 1_000; i++)
            {
                legion.Create(new Biomechanoid(i + 1, rnd.Next(500)));
            }

            sw.Start();
            legion.GetOrderedByHealth();
            sw.Stop();

            Assert.IsTrue(sw.ElapsedMilliseconds <= 100);
        }