<commit_before>﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace SharprWowApi.Test
{
    [TestClass]
    public class UnitTestAuction
    {
        [TestMethod]
        public void Test_Get_EU_AuctionData()
        {
            var client = new ApiClient(Region.EU, Locale.en_GB, ApiKey.Value);

            var getAuctionFile = client.GetAuctionFile("Grim batol");

            var someCachedValue = "14218549882000";

            var lm = from f in getAuctionFile.Files
                     select f.LastModified;

            if (!lm.Equals(someCachedValue))
            {

                var getAuction = client.GetAuctions("Grim batol");
                var auction = getAuction.Auctions.Auctions;

                string owner = "";
                foreach (var a in auction.Take(5))
                {
                    Assert.IsNotNull(a.Bid);
                    Assert.IsNotNull(a.Buyout);
                    Assert.IsNotNull(a.Context);
                    Assert.IsNotNull(a.Item);

                    owner = a.Owner;

                }
                Console.WriteLine(owner);

            }
        }

        [TestMethod]
        public async Task Test_Get_EU_AuctionDataAsync()
        {
            var client = new ApiClient(Region.EU, Locale.en_GB, ApiKey.Value);

            var getAuctionFile = client.GetAuctionFile("Grim batol");
            var someCachedValue = "14218549882000";

            var lm = from f in getAuctionFile.Files
                     select f.LastModified;

            if (!lm.Equals(someCachedValue))
            {

                var getAuction = await client.GetAuctionsAsync("Grim batol");
                var auction = getAuction.Auctions.Auctions;

                string owner = "";
                foreach (var a in auction.Take(5))
                {
                    Assert.IsNotNull(a.Auc);
                    Assert.IsNotNull(a.Bid);
                    Assert.IsNotNull(a.Buyout);
                    Assert.IsNotNull(a.Context);
                    Assert.IsNotNull(a.Item);

                    owner = a.Owner;

                }
                Console.WriteLine(owner);
            }
        }
    }
}
<commit_msg>some property name change<commit_after>﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System.Linq;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace SharprWowApi.Test
{
    [TestClass]
    public class UnitTestAuction
    {
        [TestMethod]
        public void Test_Get_EU_AuctionData()
        {
            var client = new ApiClient(Region.EU, Locale.en_GB, ApiKey.Value);

            var getAuctionFile = client.GetAuctionFile("Grim batol");

            var someCachedValue = "14218549882000";

            var lm = from f in getAuctionFile.Files
                     select f.LastModified;

            if (!lm.Equals(someCachedValue))
            {

                var getAuction = client.GetAuctions("Grim batol");
                var auction = getAuction.Auctions.Auction;

                string owner = "";
                foreach (var a in auction.Take(5))
                {
                    Assert.IsNotNull(a.Bid);
                    Assert.IsNotNull(a.Buyout);
                    Assert.IsNotNull(a.Context);
                    Assert.IsNotNull(a.Item);

                    owner = a.Owner;

                }
                Console.WriteLine(owner);

            }
        }

        [TestMethod]
        public async Task Test_Get_EU_AuctionDataAsync()
        {
            var client = new ApiClient(Region.EU, Locale.en_GB, ApiKey.Value);

            var getAuctionFile = client.GetAuctionFile("Grim batol");
            var someCachedValue = "14218549882000";

            var lm = from f in getAuctionFile.Files
                     select f.LastModified;

            if (!lm.Equals(someCachedValue))
            {

                var getAuction = await client.GetAuctionsAsync("Grim batol");
                var auction = getAuction.Auctions.Auction;

                string owner = "";
                foreach (var a in auction.Take(5))
                {
                    Assert.IsNotNull(a.Auc);
                    Assert.IsNotNull(a.Bid);
                    Assert.IsNotNull(a.Buyout);
                    Assert.IsNotNull(a.Context);
                    Assert.IsNotNull(a.Item);

                    owner = a.Owner;

                }
                Console.WriteLine(owner);
            }
        }
    }
}

{'fraction_non_alphanumeric': 0.08803122289679098, 'fraction_numerical': 0.013009540329575022, 'mean_word_length': 1.4126569037656904, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5546427', 'n_tokens_mistral': 1340, 'n_tokens_neox': 1201, 'n_words': 233}