예제 #1
0
        public async Task TestGetAll()
        {
            var result = await _jsonHardwareProvider.GetAll();

            Assert.All(result, item => Assert.True(item.HashRate > 0));
        }
예제 #2
0
 public async Task <List <MiningDevice> > GetAll()
 {
     return(await jsonHardwareProvider.GetAll());
 }