Exemplo n.º 1
0
 public void deleteTempFileTest2()
 {
     bool expected = false;
     MP3Editor editor = new MP3Editor();
     string filePath = editor.File.Path;
     editor.deleteTempFile();
     bool actual = System.IO.File.Exists(filePath);
     Assert.AreEqual(expected, actual, "deleteTempFile method does not work correctly");
 }
Exemplo n.º 2
0
 public void deleteTempFileTest()
 {
     bool expected = true;
     MP3File file = new MP3File("song.mp3");
     MP3Editor editor = new MP3Editor(file);
     editor.deleteTempFile();
     bool actual = System.IO.File.Exists("song.mp3");
     Assert.AreEqual(expected, actual, "deleteTempFile method does not work correctly");
 }