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

Function GreaterOrEqual

internal/testify/require/require.go:616–624  ·  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

614// assert.GreaterOrEqual(t, "b", "a")
615// assert.GreaterOrEqual(t, "b", "b")
616func GreaterOrEqual(t TestingT, e1 interface{}, e2 interface{}, msgAndArgs ...interface{}) {
617 if h, ok := t.(tHelper); ok {
618 h.Helper()
619 }
620 if assert.GreaterOrEqual(t, e1, e2, msgAndArgs...) {
621 return
622 }
623 t.FailNow()
624}
625
626// GreaterOrEqualf asserts that the first element is greater than or equal to the second
627//

Callers 1

GreaterOrEqualMethod · 0.70

Calls 3

GreaterOrEqualFunction · 0.92
FailNowMethod · 0.65
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…