public void IsGreaterThanOrEqualTo() { CompareAssert.IsGreaterThanOrEqualTo(7, 4); CompareAssert.IsGreaterThanOrEqualTo(4, 4); CompareAssert.IsGreaterThanOrEqualTo("a", "B", StringComparer.Ordinal, "\"a\" should be greater than or equal to \"B\" for case-sensitive ordinal comparison."); CompareAssert.IsGreaterThanOrEqualTo("b", "B", StringComparer.OrdinalIgnoreCase, "\"b\" should be greater than or equal to \"B\" for case-insensitive ordinal comparison."); ExceptionAssert.ThrowsAssertFailed( () => CompareAssert.IsGreaterThanOrEqualTo("a", "B", StringComparer.OrdinalIgnoreCase), "\"a\" should not be greater than or equal to \"B\" for case-insensitive ordinal comparison."); CompareAssert.IsGreaterThanOrEqualTo <string>(null, null); CompareAssert.IsGreaterThanOrEqualTo("x", null); ExceptionAssert.ThrowsAssertFailed( () => CompareAssert.IsGreaterThanOrEqualTo(null, "x"), "(null) should not be greater than or equal to \"x\"."); }