Exemplo n.º 1
0
        public void LoadE(string fn)
        {
            var loader = new PNMLoader();

            Assert.Throws <Xi.それちがう>(() => loader.Load(Gacha(fn)));
            using (var st = Gachas(fn)) {
                Assert.Throws <Xi.それちがう>(() => loader.Load(st.BaseStream));
            }
        }
Exemplo n.º 2
0
        public void Load(string fn)
        {
            var loader = new PNMLoader();

            Assert.NotNull(loader.Load(Gacha(fn)));
            using (var st = Gachas(fn)) {
                Assert.NotNull(loader.Load(st.BaseStream));
            }
        }