public void StepCounter_CountSwapOperation_WhenCalled_IncrementSwapOperationsCounter() { var stepCounter = new BaseStepCounter.StepCounter(); stepCounter.CountSwapOperation(); Assert.AreEqual(1, stepCounter.SwapOperationsCount); }
public void StepCounter_CountSwapOperation_WhenNotCalled_SwapOperationsCountIsZero() { var stepCounter = new BaseStepCounter.StepCounter(); Assert.AreEqual(0, stepCounter.SwapOperationsCount); }