public void TestSaveToXml() { MainSettings settings = new MainSettings(); settings.GameAreaSize = 10; settings.InRowToWin = 10; settings.Language = "pl"; settings.SaveToXML("TestConfig\\Settings.xml"); settings = MainSettings.LoadFromXML("TestConfig\\Settings.xml"); Assert.AreEqual(settings.InRowToWin, 10); }