Ejemplo n.º 1
0
        private static Settings ReloadApplicationSettings()
        {
            var settings = new Settings();

            settings.WriteSettingsToLog();

            return(settings);
        }
Ejemplo n.º 2
0
        public void LoadSettingsTest()
        {
            EnvironmentGlobal.Initialization();

            var settings = new Engine.Settings();

            var version = settings.Version;

            settings.WriteSettingsToLog();

            Assert.AreNotEqual(version, string.Empty);

            Assert.AreEqual(new Size(1920, 1080), settings.WindowSize);
        }