Created
September 7, 2019 16:43
-
-
Save IntegerMan/1f623a202a1f94f8d8bc18d7794d8ac3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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