コード例 #1
0
    public async Task SourceTest()
    {
        Source data = (await FredClient.GetSources()).FirstOrDefault();

        Assert.IsNotNull(data);
        Assert.IsFalse(String.IsNullOrEmpty(data.NativeID));
        Assert.IsFalse(String.IsNullOrEmpty(data.Name));
        Assert.IsFalse(String.IsNullOrEmpty(data.Link));
    }
コード例 #2
0
    public async Task GetSourcesTest1()
    {
        List <Source> data = await FredClient.GetSources(new DateTime(2020, 1, 1), new DateTime(2020, 12, 31));

        Assert.IsNotNull(data);
    }
コード例 #3
0
    public async Task GetSourcesTest()
    {
        List <Source> data = await FredClient.GetSources();

        Assert.IsNotNull(data);
    }