void CheckTime() { Fail.IfNotApproximately(totalTime, ZigZagger.SecondsToSwitch, 0.1F, GameObject); totalTime = 0; isPositiveDiff = !isPositiveDiff; }