public void TestDecreaseMetalWorkers()
        {
            GameObject         placeholder = new GameObject();
            EnemyWorkerManager ewm         = placeholder.AddComponent <EnemyWorkerManager>();

            ewm.MetalHutBuild();
            ewm.MetalHutBuild();
            ewm.MetalHutDestroyed();
            int count = ewm.maxMetalWorkers;

            Assert.AreEqual(1, count);
        }
        public void TestAllowMetalWorker()
        {
            GameObject         placeholder = new GameObject();
            EnemyWorkerManager ewm         = placeholder.AddComponent <EnemyWorkerManager>();

            ewm.MetalHutBuild();


            Assert.True(ewm.AllowWorker(ResourceType.Metal));
        }