Exemple #1
0
        public void TestOldest()
        {
            PersonHandler ph     = new PersonHandler(data);
            var           oldest = ph.GetOldest();

            Assert.Equal(2, oldest.Count);
            var result = oldest.Where(person => person.Id == 205 || person.Id == 402).ToList();

            if (result.Count == 2)
            {
                Assert.True(true);
            }
            else
            {
                Assert.True(false);
            }
        }