Skip to content

Instantly share code, notes, and snippets.

@IntegerMan
Created September 7, 2019 16:43
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/1f623a202a1f94f8d8bc18d7794d8ac3 to your computer and use it in GitHub Desktop.
Save IntegerMan/1f623a202a1f94f8d8bc18d7794d8ac3 to your computer and use it in GitHub Desktop.
using Shouldly;
public class MonthsInJobTests : ResumeTestsBase
{
[Fact]
public void FiveMonthsInJobShouldScoreAFive()
{
// Arrange
var resume = new ResumeInfo(Faker.Name.FullName);
resume.Jobs.Add(CreateRandomJob(5));
// Act
var result = Analyze(resume);
// Assert
result.Score.ShouldBe(5);
}
[Fact]
public void OneMonthInJobShouldScoreAOne()
{
// Arrange
var resume = new ResumeInfo(Faker.Name.FullName);
resume.Jobs.Add(CreateRandomJob(1));
// Act
var result = Analyze(resume);
// Assert
result.Score.ShouldBe(1);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment