public void TestIniFile() { try { IniManager m = new IniManager(testIniFile); HashSet <string> sects = m.GetSectionNames(); HashSet <string> fileEnts = m.GetEntryNames("Files"); Dictionary <string, string> FilesDict = m.GetSectionAsDictionary("Files"); Dictionary <string, string> Test1Dict = m.GetSectionAsDictionary("Test1"); Dictionary <string, string> Test2Dict = m.GetSectionAsDictionary("Test2"); var dict = IniManager.LoadIniFileAsDictionary(testIniFile); Assert.IsTrue(FilesDict.Count > 0); Assert.IsTrue(Test1Dict.Count > 0); Assert.IsTrue(dict.Count > 0); } catch { Assert.Fail(); } }