Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created September 7, 2019 16:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save IntegerMan/bc11f37aab470c4fae449351f2f3bbb1 to your computer and use it in GitHub Desktop.
Save IntegerMan/bc11f37aab470c4fae449351f2f3bbb1 to your computer and use it in GitHub Desktop.
using Shouldly;
public class MonthsInJobTests : ResumeTestsBase
{
[Theory]
[InlineData(1)]
[InlineData(5)]
[InlineData(10)]
[InlineData(900)]
public void ResumesShouldScoreForTotalMonthsInJob(int monthsInJob)
{
// Arrange
var resume = new ResumeInfo(Faker.Name.FullName);
resume.Jobs.Add(CreateRandomJob(monthsInJob));
// Act
var result = Analyze(resume);
// Assert
result.Score.ShouldBe(monthsInJob);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment