Ejemplo n.º 1
0
 public void TestStopLiveWindowModeTableNull()
 {
     using (Solenoid s = NewSolenoid())
     {
         s.Set(true);
         Assert.That(s.Get, Is.True);
         s.StopLiveWindowMode();
         Assert.That(s.Get, Is.False);
     }
 }
Ejemplo n.º 2
0
 public void TestStopLiveWindowModeTable()
 {
     using (Solenoid s = NewSolenoid())
     {
         ITable table = new MockNetworkTable();
         s.InitTable(table);
         s.Set(true);
         Assert.That(s.Get, Is.True);
         s.StopLiveWindowMode();
         Assert.That(s.Get, Is.False);
     }
 }