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