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)); } }
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)); } }