/// <summary> /// Verifies that a value is not within a given range, using the default comparer. /// </summary> /// <typeparam name="T">The type of the value to be compared</typeparam> /// <param name="actual">The actual value to be evaluated</param> /// <param name="low">The (inclusive) low value of the range</param> /// <param name="high">The (inclusive) high value of the range</param> /// <exception cref="NotInRangeException">Thrown when the value is in the given range</exception> public static void NotInRange <T>(this IAssert assert, T actual, T low, T high) where T : IComparable { assert.NotInRange(actual, low, high, GetComparer <T>()); }