Exemplo n.º 1
0
 public void TestTalonSRXStarts0()
 {
     using (TalonSRX t = new TalonSRX(2))
     {
         Assert.AreEqual(t.Get(), 0);
     }
 }
Exemplo n.º 2
0
 public void TestTalonSRXSet()
 {
     using (TalonSRX t = new TalonSRX(2))
     {
         t.Set(1);
         Assert.AreEqual(t.Get(), 1);
     }
 }
Exemplo n.º 3
0
        public void TestPIDWrite()
        {
            using (TalonSRX t = new TalonSRX(2))
            {
                t.PidWrite(-1);

                Assert.AreEqual(t.Get(), -1);
            }
        }