Beispiel #1
0
        public void ToStringTest()
        {
            var ipx = IPXOptions.Create()
                .AddIPX();

            var iniIPX = ipx.ToString();

            Assert.AreEqual(iniIPX, "[ipx]\r\n\r\nipx=false\r\n");
        }
Beispiel #2
0
        public void LoadDictionaryTest()
        {
            IPXOptions ipx = new IPXOptions();
            var dictionary = new Dictionary<string, object>()
            {
                {"ipx", "true"}
            };

            ipx.LoadDictionary(dictionary);

            Assert.IsTrue(ipx.IPX);
        }