Beispiel #1
0
 public void cutFileToTest()
 {
     string expected = "song1.mp3";
     MP3File file = new MP3File("song.mp3");
     MP3Editor editor = new MP3Editor(file);
     editor.cutFileTo("song1.mp3");
     string actual = editor.File.Path;
     Assert.AreEqual(expected, actual, "cutFileTo method does not work correctly");
 }
Beispiel #2
0
 public void cutFileToTest2()
 {
     MP3File file = new MP3File("song.mp3");
     MP3Editor editor = new MP3Editor(file);
     editor.cutFileTo("");
 }