public void LimitsTestResetBatch() { var lim = new Limits(); var ds1 = new double[] { 1, 5, 3, 9 }; var ds2 = new double[] { 15, -40, 25, 6 }; lim.ProcessData(ds2); lim.AutoDataReset(); lim.ProcessData(ds1); Assert.AreEqual(4, lim.Count); Assert.AreEqual(1, lim.AutoMin); Assert.AreEqual(9, lim.AutoMax); }