Advertisement
Guest User

Untitled

a guest
Sep 18th, 2019
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. using Shouldly;
  2.  
  3. public class SpecialCaseTests
  4. {
  5. [Fact]
  6. public void MattElandShouldScoreMaxValue()
  7. {
  8. // Arrange
  9. var resume = new ResumeInfo("Matt Eland");
  10. var job = new JobInfo("Software Engineering Manager", "Some Company", 42);
  11. resume.Jobs.Add(job);
  12. var provider = new KeywordScoringProvider();
  13. var analyzer = new ResumeAnalyzer(provider);
  14.  
  15. // Act
  16. var result = analyzer.Analyze(resume);
  17.  
  18. // Assert
  19. result.Score.ShouldBe(int.MaxValue);
  20. }
  21. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement