public async Task ShouldFailIfFileDoesNotExist() { var loadSoundList = new LoadSoundlist(); var result = await loadSoundList.Perform("test.spl"); result.IsSuccessful.Should().BeFalse(); }
public async Task ShouldLoadSoundList() { var loadSoundList = new LoadSoundlist(); var result = await loadSoundList.Perform("Soundlist.spl"); result.IsSuccessful.Should().BeTrue(); }
/// <summary> /// Loads a .spl Soundlist into Soundpad /// </summary> /// <returns></returns> public async Task <NoContentResponse> LoadSoundlist(string path) { var loadSoundlist = new LoadSoundlist(); return(await loadSoundlist.Perform(path)); }