public void make_sure_we_have_updated_ru_hacker_locale() { var ruhacker = new Hacker("ru"); ruhacker.Adjective().Should().Be("многобайтный"); ruhacker.Noun().Should().Be("ограничитель"); ruhacker.Verb().Should().Be("передать"); ruhacker.IngVerb().Should().Be("определение количества"); }
public void make_sure_we_have_updated_ru_hacker_locale() { var ruhacker = new Hacker("ru"); ruhacker.Adjective().Should().Be("многобайтный"); ruhacker.Noun().Should().Be("ограничитель"); ruhacker.Verb().Should().Be("ввести"); ruhacker.IngVerb().Should().Be("генерация"); }
static WordFunctions() { var commerce = new Commerce(); var company = new Company(); var address = new Address(); var finance = new Finance(); var hacker = new Hacker(); var name = new Name(); Functions.Add(() => commerce.Department()); Functions.Add(() => commerce.ProductName()); Functions.Add(() => commerce.ProductAdjective()); Functions.Add(() => commerce.ProductMaterial()); Functions.Add(() => commerce.ProductName()); Functions.Add(() => commerce.Color()); Functions.Add(() => company.CatchPhraseAdjective()); Functions.Add(() => company.CatchPhraseDescriptor()); Functions.Add(() => company.CatchPhraseNoun()); Functions.Add(() => company.BsAdjective()); Functions.Add(() => company.BsBuzz()); Functions.Add(() => company.BsNoun()); Functions.Add(() => address.StreetSuffix()); Functions.Add(() => address.County()); Functions.Add(() => address.Country()); Functions.Add(() => address.State()); Functions.Add(() => address.StreetSuffix()); Functions.Add(() => finance.AccountName()); Functions.Add(() => finance.TransactionType()); Functions.Add(() => finance.Currency().Description); Functions.Add(() => hacker.Noun()); Functions.Add(() => hacker.Verb()); Functions.Add(() => hacker.Adjective()); Functions.Add(() => hacker.IngVerb()); Functions.Add(() => hacker.Abbreviation()); Functions.Add(() => name.JobDescriptor()); Functions.Add(() => name.JobArea()); Functions.Add(() => name.JobType()); }
public void OnExecute() { Logger.LogSuccess("Press CTRL+C to stop"); Thread.Sleep(1000); while (true) { var hacker = new Hacker(); var internet = new Internet(); var diceRoll = new Bogus.Randomizer().Number(0, 6); Logger.Log($"Loading {hacker.Noun()} from {hacker.Noun()}"); Logger.Log($"{hacker.IngVerb()} data to {hacker.Noun()} at: {internet.IpAddress()} "); if (diceRoll == 4) { Logger.LogError($"Failure to process. See error code: {internet.Ipv6EndPoint()}"); } if (diceRoll % 3 == 0) { Logger.LogSuccess($"Processing succeeded for {internet.Mac()}"); } Logger.Log($""); Thread.Sleep(350); } }
public static string IngVerb() => Hacker.IngVerb();