MCPcopy Index your code
hub / github.com/expr-lang/expr / Greaterf

Function Greaterf

internal/testify/assert/assertion_format.go:247–252  ·  view source on GitHub ↗

Greaterf asserts that the first element is greater than the second assert.Greaterf(t, 2, 1, "error message %s", "formatted") assert.Greaterf(t, float64(2), float64(1), "error message %s", "formatted") assert.Greaterf(t, "b", "a", "error message %s", "formatted")

(t TestingT, e1 interface{}, e2 interface{}, msg string, args ...interface{})

Source from the content-addressed store, hash-verified

245// assert.Greaterf(t, float64(2), float64(1), "error message %s", "formatted")
246// assert.Greaterf(t, "b", "a", "error message %s", "formatted")
247func Greaterf(t TestingT, e1 interface{}, e2 interface{}, msg string, args ...interface{}) bool {
248 if h, ok := t.(tHelper); ok {
249 h.Helper()
250 }
251 return Greater(t, e1, e2, append([]interface{}{msg}, args...)...)
252}
253
254// GreaterOrEqualf asserts that the first element is greater than or equal to the second
255//

Callers 2

GreaterfFunction · 0.92
GreaterfMethod · 0.70

Calls 2

GreaterFunction · 0.70
HelperMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…