public void TestAllDecisions() { IDecisionsRepository decs = new DecisionsRepository(); IRecommendationsRepository recs = new RecommendationsRepository(); int i = decs.GetAllDecisionsPerParagraph(12).Count; // int j = recs.getAllRecommendationsByParagraph(12).Count; Assert.AreEqual(i, 2); }
public void TestDecisionDetails() { IGenericRepository gens = new GenericRepository(); IDecisionsRepository decisions = new DecisionsRepository(); IList <Decision> decs = decisions.GetAllDecisionsPerParagraph(12); IList <DecisionDetails> details = UpdateUtils.GetDecisionDetails(decs); // int j = recs.getAllRecommendationsByParagraph(12).Count; Assert.AreEqual(details.Count, decs.Count); }