public void TestMin() { AggregateExitOperation exitOp = new AggregateExitOperation(Projections.Min("value")); IList result = exitOp.Apply(data); Assert.AreEqual(0, ((MyInt)result[0]).Value); }
public void TestSum() { AggregateExitOperation exitOp = new AggregateExitOperation(Projections.Sum("value")); IList result = exitOp.Apply(data); Assert.AreEqual(11.0m, (decimal)result[0]); }