Exemplo n.º 1
0
 public void Check_that_score_is_expected()
 {
     var mp = new MatchingProvider();
     var matchingScore = mp.GetMatch(traveler, guide).Score;
     var expectedScore = 110;
     Assert.AreEqual(expectedScore, matchingScore);
 }
Exemplo n.º 2
0
 public MatchingService()
 {
     dbContext = new ShowMeAroundContext();
     userDA = new UserDA();
     provider = new MatchingProvider();
     auth = new Authentication();
 }
Exemplo n.º 3
0
 public void Check_that_matching_returns_a_score()
 {
     var mp = new MatchingProvider();
     var matchingScore = mp.GetMatch(traveler, guide);
     Assert.IsNotNull(matchingScore);
 }