Esempio n. 1
0
        public void find_urls_should_return_url_length()
        {
            var urls   = RepositoryFactory.GetUrls();
            var actual = WithoutLinq.GetUrlLength(urls);

            var expected = new List <int>()
            {
                19,
                20,
                19,
                17,
            };

            expected.ToExpectedObject().ShouldEqual(actual.ToList());
        }