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