public void Test_Play_Song_Another_New_Songs() { // Arrange var player = new BearPlayer.Bear_Player(); // Act bool result = player.play_song(file_path1); result = player.play_song(file_path2); // Assert Assert.IsTrue(result); }
public void Test_Play_Song_Same_Songs() { // Arrange var player = new BearPlayer.Bear_Player(); // Act bool result = player.play_song(file_path1); result = player.play_song(file_path1); // Assert Assert.IsFalse(result); }
public void Test_Song_Selected() { // Arrange var player = new BearPlayer.Bear_Player(); // Act player.play_song(file_path1); // Assert Assert.IsTrue(player.song_selected); }