assert

package
v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package assert

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T any](t *testing.T, expected, actual T) bool

func False

func False[T ~bool](t *testing.T, i T) bool

func Greater

func Greater[T constraints.Integer](t *testing.T, expected, actual T) bool

func Less

func Less[T constraints.Integer](t *testing.T, expected, actual T) bool

func Nil

func Nil(t *testing.T, i any) bool

func NotEqual

func NotEqual[T any](t *testing.T, expected, actual T) bool

func NotNil

func NotNil(t *testing.T, i any) bool

func NotPanic

func NotPanic(t *testing.T, f func()) bool

func NotZero

func NotZero(t *testing.T, i any) bool

func Panic

func Panic(t *testing.T, f func()) bool

func True

func True[T ~bool](t *testing.T, i T) bool

func Zero

func Zero(t *testing.T, i any) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL