Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. using Shouldly;
  2.  
  3. public class MonthsInJobTests : ResumeTestsBase
  4. {
  5. [Theory]
  6. [InlineData(1)]
  7. [InlineData(5)]
  8. [InlineData(10)]
  9. [InlineData(900)]
  10. public void ResumesShouldScoreForTotalMonthsInJob(int monthsInJob)
  11. {
  12. // Arrange
  13. var resume = new ResumeInfo(Faker.Name.FullName);
  14. resume.Jobs.Add(CreateRandomJob(monthsInJob));
  15.  
  16. // Act
  17. var result = Analyze(resume);
  18.  
  19. // Assert
  20. result.Score.ShouldBe(monthsInJob);
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement