Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created September 7, 2019 16:28
Show Gist options
  • Select an option

  • Save IntegerMan/73290fbe575242717f4d159fe4c0d0cd to your computer and use it in GitHub Desktop.

Select an option

Save IntegerMan/73290fbe575242717f4d159fe4c0d0cd to your computer and use it in GitHub Desktop.
public class SpecialCaseTests
{
[Fact]
public void MattElandShouldScoreMaxValue()
{
// Arrange
var resume = new ResumeInfo("Matt Eland");
var job = new JobInfo("Software Engineering Manager", "Some Company", 42);
resume.Jobs.Add(job);
var provider = new KeywordScoringProvider();
var analyzer = new ResumeAnalyzer(provider);
// Act
var result = analyzer.Analyze(resume);
// Assert
Assert.Equal(int.MaxValue, result.Score);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment