mirror of
https://github.com/mgroves/MonodroidStockPortfolio.git
synced 2025-01-01 11:13:19 +00:00
17 lines
No EOL
439 B
C#
17 lines
No EOL
439 B
C#
using System.Linq;
|
|
using MonoStockPortfolio.Core.StockData;
|
|
using Xunit;
|
|
|
|
namespace MonoStockPortfolio.Tests
|
|
{
|
|
public class YahooStockDataProviderTests
|
|
{
|
|
[Fact]
|
|
public void Can_get_volume()
|
|
{
|
|
var svc = new YahooStockDataProvider();
|
|
var quote = svc.GetStockQuotes(new[] {"XIN"}).Single();
|
|
Assert.True(!string.IsNullOrEmpty(quote.Volume));
|
|
}
|
|
}
|
|
} |