Skip to content

Instantly share code, notes, and snippets.

Created September 7, 2019 16:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save IntegerMan/9c89ba92033d0cc9430b62c96ad1fdb3 to your computer and use it in GitHub Desktop.
using Bogus;
using Shouldly;
public class SpecialCaseTests
private JobInfo CreateRandomJob() {
var faker = new Faker();
string title = faker.Name.JobTitle;
string company = faker.Company.CompanyName;
int monthsInJob = faker.Random.Int(1, 4200);
return new JobInfo(title, company, monthsInJob);
private AnalyzerResult Analyze(ResumeInfo resume) {
var provider = new KeywordScoringProvider();
var analyzer = new ResumeAnalyzer(provider);
return analyzer.Analyze(resume);
public void MattElandShouldScoreMaxValue()
// Arrange
var resume = new ResumeInfo("Matt Eland");
// Act
var result = Analyze(resume);
// Assert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment