public void DisposeTest()
        {
            var factory = new UltimaOnlineReaderFactory("");

            factory.Init();
            factory.Dispose();
            Assert.NotNull(factory);
        }
        public void Gump()
        {
            var factory = new UltimaOnlineReaderFactory(@"C:\Ultima\OSI_seas_mul - Copia");

            factory.Init();
            var raw = factory.Gumps.GetCount();

            Assert.IsTrue(raw > 0);
            factory.Dispose();
        }
        public void LandData()
        {
            var factory = new UltimaOnlineReaderFactory(@"C:\Ultima\OSI_seas_mul - Copia");

            factory.Init();
            var raw = factory.TileData.LandTable[100];

            Assert.IsTrue(raw.TextureID > 0);
            factory.Dispose();
        }
        public void TileData()
        {
            var factory = new UltimaOnlineReaderFactory(@"C:\Ultima\OSI_seas_mul - Copia");

            factory.Init();
            var raw = factory.TileData.ItemTable[100];

            Assert.IsTrue(raw.Height > 0);
            factory.Dispose();
        }
        public void ArtTest2()
        {
            var factory = new UltimaOnlineReaderFactory(@"C:\Ultima\OSI_seas_mul - Copia");

            factory.Init();
            var raw = factory.Art.GetRaw(100);

            Assert.IsTrue(raw != null);
            factory.Dispose();
        }
        public void ArtTest()
        {
            var factory = new UltimaOnlineReaderFactory("");

            factory.Init();
            var legalItemId = factory.Art.GetLegalItemID(100);

            Assert.IsTrue(legalItemId == 100);
            factory.Dispose();
        }
        public void Maps()
        {
            var factory = new UltimaOnlineReaderFactory(@"C:\Ultima\OSI_seas_mul - Copia");

            factory.Init();
            List <Tile[]> tileList = factory.Maps.Select(mapEntry => mapEntry.Value.Tiles.GetLandBlock(10, 10)).ToList();

            foreach (var element in tileList)
            {
                Assert.IsTrue(element != null);
            }



            factory.Dispose();
        }