Esempio n. 1
0
 public void ReadTest2()
 {
     Assert.Throws <IOException>(() => ReadData.Read("../../../ReadSaveFile/Tests/data2.txt", _graph));
 }
Esempio n. 2
0
        public void ReadTest0()
        {
            string nonexist = "/nonexist";

            Assert.Throws <FileNotFoundException>(() => ReadData.Read(nonexist, _graph));
        }