Ejemplo n.º 1
0
        public async Task ShouldFailIfFileDoesNotExist()
        {
            var loadSoundList = new LoadSoundlist();

            var result = await loadSoundList.Perform("test.spl");

            result.IsSuccessful.Should().BeFalse();
        }
Ejemplo n.º 2
0
        public async Task ShouldLoadSoundList()
        {
            var loadSoundList = new LoadSoundlist();

            var result = await loadSoundList.Perform("Soundlist.spl");

            result.IsSuccessful.Should().BeTrue();
        }
Ejemplo n.º 3
0
        /// <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));
        }