public void SentenceTaskRepositoryTest_SentenceTasks_count()
        {
            var count     = context.Object.SentenceTasks.Count();
            var rep_count = rep.GetAll().Count();

            Assert.AreEqual(count, rep_count, string.Format(count + " != " + rep_count));
        }
        public void SentenceTaskServiceTest_Get_count()
        {
            var expected = rep.GetAll().Count();
            var actual   = service.GetAll().Count();

            Assert.AreEqual(expected, actual);
        }
Esempio n. 3
0
 public IQueryable <SentenceTask> GetAll()
 {
     return(rep.GetAll());
 }