Example #1
0
        public void FileReader_CanReadBuiltInContinentsCorrectly()
        {
            var target = GeoFileReader.ReadBuiltInContinents().ToArray();

            Assert.AreEqual(7, target.Length);
            CollectionAssert.AreEqual(target.OrderBy(c => c.Code).Select(c => c.Code).ToArray(), new[] { "AF", "AN", "AS", "EU", "NA", "OC", "SA" });
        }