예제 #1
0
        public void ItemListParsingTest()
        {
            Database.LoadItems();

            Assert.AreEqual(Equipment.EquipmentSlot.weapon, Database.items[whipId].equipment.slot);
            Assert.AreEqual(Equipment.EquipmentSlot.feet, Database.items[dragonBootsId].equipment.slot);
        }
예제 #2
0
        public void ItemLoadTest()
        {
            Database.items.Clear();
            Database.LoadItems();
            long id = 15000;

            Assert.AreEqual(id, Database.items[id].id);
        }
예제 #3
0
 public void OneTimeSetup()
 {
     Database.LoadBosses();
     if (Database.items.Count != 0)
     {
         Database.items.Clear();
     }
     Database.LoadItems();
 }
예제 #4
0
 public void OneTimeSetup()
 {
     Database.LoadItems();
     Database.LoadIcons();
 }