assert

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

A simple test helper see: https://github.com/google/googletest/blob/master/googletest/docs/primer.md

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExpectEQ

func ExpectEQ(t *testing.T, expected, actual interface{}, msg ...string)

func ExpectErr

func ExpectErr(t *testing.T, err error, msg ...string)

func ExpectFalse

func ExpectFalse(t *testing.T, condition bool, msg ...string)

func ExpectLT

func ExpectLT(t *testing.T, val1, val2 interface{}, msg ...string)

Less Than

func ExpectNE

func ExpectNE(t *testing.T, expected, actual interface{}, msg ...string)

func ExpectNoErr

func ExpectNoErr(t *testing.T, err error, msg ...string)

func ExpectTrue

func ExpectTrue(t *testing.T, condition bool, msg ...string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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