MCPcopy
hub / github.com/expr-lang/expr / GreaterOrEqual

Function GreaterOrEqual

internal/testify/assert/assertion_compare.go:402–407  ·  view source on GitHub ↗

GreaterOrEqual asserts that the first element is greater than or equal to the second assert.GreaterOrEqual(t, 2, 1) assert.GreaterOrEqual(t, 2, 2) assert.GreaterOrEqual(t, "b", "a") assert.GreaterOrEqual(t, "b", "b")

(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{})

Source from the content-addressed store, hash-verified

400// assert.GreaterOrEqual(t, "b", "a")
401// assert.GreaterOrEqual(t, "b", "b")
402func GreaterOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) bool {
403 if h, ok := t.(tHelper); ok {
404 h.Helper()
405 }
406 return compareTwoValues(t, e1, e2, []compareResult{compareGreater, compareEqual}, "\"%v\" is not greater than or equal to \"%v\"", msgAndArgs...)
407}
408
409// Less asserts that the first element is less than the second
410//

Callers 5

GreaterOrEqualFunction · 0.92
GreaterOrEqualfFunction · 0.70
TestGreaterOrEqualFunction · 0.70
GreaterOrEqualMethod · 0.70

Calls 2

compareTwoValuesFunction · 0.85
HelperMethod · 0.45

Tested by 2

TestGreaterOrEqualFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…