예제 #1
1
 public void TestVictorSet()
 {
     using (Victor t = new Victor(2))
     {
         t.Set(1);
         Assert.AreEqual(t.Get(), 1);
     }
 }
예제 #2
0
 public void TestVictorStarts0()
 {
     using (Victor t = new Victor(2))
     {
         Assert.AreEqual(t.Get(), 0);
     }
 }
예제 #3
0
        public void TestPIDWrite()
        {
            using (Victor t = new Victor(2))
            {
                t.PidWrite(-1);

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