Пример #1
0
        public void INI檔案寫入(string section, string key, string expected)
        {
            var before = IniUtil.Read(this._file, section, key);

            IniUtil.Write(this._file, section, key, expected);

            var actual = IniUtil.Read(this._file, section, key);

            Assert.AreEqual(expected, actual);

            // snapshot
            IniUtil.Write(this._file, section, key, before);
        }