assert

package
v0.0.19 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2023 License: MIT Imports: 1 Imported by: 0

README

assert

Barebones assertion library to avoid having to bring another in and adding a dependency to this package.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal[T comparable](t *testing.T, expected T, v T)

Equal checks if two values are equal else fails the test

func False

func False(t *testing.T, v bool)

False checks whether v is false

func True

func True(t *testing.T, v bool)

True checks whether v is true

Types

This section is empty.

Jump to

Keyboard shortcuts

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