public void EvaluateDecoratedTasks_Obj_OneIteration()
{
// Arrange
var shark = new BenchShark(true) {EnableUnoptimizedEvaluations = true};
SetupEnvironment();
// Act
var methods = shark.EvaluateDecoratedTasks(this, 1);
// Assert
Assert.AreEqual(3, methods.Evaluations.Count());
Assert.AreNotEqual(methods.Evaluations.ElementAt(0), methods.Evaluations.ElementAt(1));
Assert.AreEqual(2, FooRun); // one execution to jut the function, second to evaluate
Assert.AreEqual(2, BarRun);
Assert.AreEqual(2, StaticFoobarRun);
}