public void ApplicationViewModelTest()
        {
            Assert.AreEqual("1", File.ReadAllText(ApplicationViewModel.ConfigPath));

            applicationViewModel.Begin();
            Assert.AreEqual("0", File.ReadAllText(ApplicationViewModel.ConfigPath));

            // reinit and confirm reinit
            TestInitialize();
            Assert.AreEqual("1", File.ReadAllText(ApplicationViewModel.ConfigPath));
        }
Ejemplo n.º 2
0
 public void Execute(object parameter) => applicationViewModel.Begin();