예제 #1
0
        public void StorageIsNotEmpty()
        {
            for (int i = 0; i < 10; i++)
            {
                ItemProduction.ProduceItem();
            }

            Assert.IsNotEmpty(Singleton.Inventory);
        }
예제 #2
0
        public void StorageIsNotNull()
        {
            for (int i = 0; i < 10; i++)
            {
                ItemProduction.ProduceItem();
            }

            for (int i = 0; i < Singleton.Inventory.Count; i++)
            {
                Assert.NotNull(Singleton.Inventory[i]);
            }
        }