Beispiel #1
0
        public void CanRun_WhenStopped_ReturnsFalse()
        {
            // Given: A valid Application Runner

            // When: StopsRunning is called
            ApplicationRunner.StopRunning();

            // Verify: That CanRun is now false
            Assert.That(ApplicationRunner.CanRun(), Is.False);
        }
Beispiel #2
0
 public void Run()
 {
     while (ApplicationRunner.CanRun())
     {
         CommandExecutor.Execute();
     }
 }