public static void Main(string[] args) { Console.WriteLine("starting...."); try { Dictionary <string, Person> graph = Recommendor.CreateGraphwithSampleData(); //A graph based matching Recommendor.BFSBasedMatchingRecommendation(graph, "B", 2); } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.ReadLine(); }
public UnitTests() { _Graph = Recommendor.CreateGraphwithSampleData(); }
public void BFSBasedMatchingRecommendationTestTestZero() { Recommendor.BFSBasedMatchingRecommendation(_Graph, "B", 0); }
public void BFSBasedMatchingRecommendationTestNull() { Recommendor.BFSBasedMatchingRecommendation(null, null, 2); }
public void BFSBasedMatchingRecommendationinTestInvalid() { Recommendor.BFSBasedMatchingRecommendation(_Graph, "E", 2); }
public void BFSBasedMatchingRecommendationTest5() { Recommendor.BFSBasedMatchingRecommendation(_Graph, "D", 2); }
//test public void BFSBasedMatchingRecommendationTest1() { Recommendor.BFSBasedMatchingRecommendation(_Graph, "P", 3); }