GetRate() public method

Gets the velocity reported by the encoder.
public GetRate ( ) : double
return double
 public void EnhancedEncoderRateTest()
 {
     using (Encoder e = new EnhancedEncoder(0, 1) {Dt = 0.1})
     {
         e.Reset();
         e.Get(); //Push the value to the Derivative
         SimData.Encoder[0].Count = 4000;
         Assert.AreEqual(10000, e.GetRate());
     }
 }