public void given_timespans_should_be_able_to_assert_on_is_close_to_with_tolerance() { var thirtyMinutes = new TimeSpan(0, 30, 0); var twentyMinutes = new TimeSpan(0, 20, 0); var tenMinuteTolerance = new TimeSpan(0, 10, 0); thirtyMinutes.is_close_to(twentyMinutes, tenMinuteTolerance); thirtyMinutes.should_be_close_to(twentyMinutes, tenMinuteTolerance); }