Azavea.NijPredictivePolicing.Test.Common.ConfigTests.CreateNewConfig C# (CSharp) Метод

CreateNewConfig() приватный Метод

private CreateNewConfig ( ) : void
Результат void
        public void CreateNewConfig()
        {
            string filename = Path.Combine(BaseDir, @"TestData\ParserTests\testconfig.config");
            var c = new Config(filename);

            Assert.AreEqual("bar", c["foo"], "string values out of sync!");
            Assert.AreEqual(c["foo"], c["foo"], "string values out of sync!");

            Assert.AreEqual(123, c["123"], "numeric values out of sync!");
            Assert.AreEqual(c["123"], c["123"], "numeric values out of sync!");

            Assert.IsTrue(AreListsEqual(new string[] { "a", "b", "c" }, c.GetList("abc")), "array values out of sync!");
            Assert.IsTrue(AreListsEqual(c.GetList("abc"), c.GetList("abc")), "array values out of sync!");
        }