public void GetAudioVkTest() { lock (_api) { var user = VkUtils.GetUserByScreenName(_screenName, _api); var downloader = new VkMusicDownloadEngine(_api, 6000); var trackList = downloader.DownloadTrackList(user); Assert.IsNotNull(trackList); Assert.AreNotEqual(0, trackList.Count()); } }
public void GetSongPairs() { lock (_searchEngine) { var user = VkUtils.GetUserByScreenName(_screenName, _api); Assert.IsNotNull(user); var downloader = new VkMusicDownloadEngine(_api, 6000); var trackList = downloader.DownloadTrackList(user); Assert.IsNotNull(trackList); var tracksPairs = _searchEngine.FindTracksPairs(trackList); Assert.IsNotNull(tracksPairs); } }