Exemplo n.º 1
0
        public void TestPROJ4_SPCS_nad27()
        {
            var passed = 0;
            var tests  = new List <MetaCRSTestCase>();

            using (var file = new MemoryStream(Encoding.UTF8.GetBytes(Properties.Resources.PROJ4_SPCS_nad27)))
            {
                var reader = new MetaCRSTestFileReader(file);
                tests.AddRange(reader.ReadTests());
                foreach (var test in tests)
                {
                    passed += RunTest(test);
                }
            }
            Assert.AreEqual(tests.Count, passed);
        }
Exemplo n.º 2
0
        public void TestPROJ4_SPCS_nad27()
        {
            var passed = 0;
            var tests  = new List <MetaCRSTestCase>();

            using (var file = Resources.Repository.Open("PROJ4_SPCS_nad27.csv"))
            {
                var reader = new MetaCRSTestFileReader(file);
                tests.AddRange(reader.ReadTests());
                foreach (var test in tests)
                {
                    passed += RunTest(test);
                }
            }
            Assert.AreEqual(tests.Count, passed);
        }