public async void HistoDayOnline() { var cc = new CryptoCompare(new Maybe <IDownloadData>()); var res = await cc.HistoDay("ETH", "BTC", emptyStringMaybe, emptyIntMaybe, emptyIntMaybe, emptyIntMaybe, emptyStringMaybe); Assert.Equal("Success", res.Response); Assert.NotEmpty(res.Data); }
public async void HistoDayWithParametersOnline() { var cc = new CryptoCompare(new Maybe <IDownloadData>()); var res = await cc.HistoDay( "ETH", "BTC", new Maybe <string>("Kraken"), new Maybe <int>(2), new Maybe <int>(10), emptyIntMaybe, emptyStringMaybe); Assert.Equal("Success", res.Response); Assert.NotEmpty(res.Data); Assert.True(res.Aggregated); }