How to correct write test with async methods?
问题 I have class for iterating images. public class PictureManager { private int _current; public List<BitmapImage> _images = new List<BitmapImage>(5); public static string ImagePath = "dataImages"; public async void LoadImages() { _images = await GetImagesAsync(); } public async Task<List<BitmapImage>> GetImagesAsync() { var files = new List<BitmapImage>(); StorageFolder picturesFolder = await KnownFolders.PicturesLibrary.GetFolderAsync("dataImages"); IReadOnlyList<IStorageItem> itemsList =