import "code.pfad.fr/swift/internal/check"
type Failed struct {/* contains filtered or unexported fields */}
Failed can be used to conditionnally add more information (all method calls will be no-op if the check suceeded).
func Equal[T comparable](t testing.TB, want, got T) Failed
Equal calls t.Errorf if want != got.
func Equals[S ~[]E, E comparable](t testing.TB, want, got S) Failed
Equals calls t.Errorf if want != got.
FailNow stops the test execution if the check failed (no-op otherwise), cf testing.T.FailNow.
Log records the text in the error log if the check failed (no-op otherwise)
Logf records the text in the error log if the check failed (no-op otherwise)