public void GetAddressDetailTest() { IProhashingRepository repo = new ProhashingRepository(); var address = repo.GetAddressDetail(coinList[0]); address.Wait(); Assert.NotNull(address.Result); Assert.True(address.Result.address == coinList[0].address); }
public void GetCryptosTest() { IProhashingRepository repo = new ProhashingRepository(); var cryptos = repo.GetCryptos(); cryptos.Wait(); Assert.NotNull(cryptos.Result); Assert.True(cryptos.Result.Count() > 0); }
public void GetAddressTrxTest() { IProhashingRepository repo = new ProhashingRepository(); var transactions = repo.GetAddressTransactions(coinList[0]); transactions.Wait(); Assert.NotNull(transactions.Result); var count = transactions.Result.Count(); Assert.True(count > 0); }