test

package
v0.0.0-...-fcf7183 Latest Latest
Warning

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

Go to latest
Published: May 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EqualBool

func EqualBool(t *testing.T, res, resExpected bool)

EqualBool use != operator to compare the arguments, then log it and fail.

func EqualInt

func EqualInt(t *testing.T, res, resExpected int)

EqualInt use != operator to compare the arguments, then log it and fail.

func EqualString

func EqualString(t *testing.T, res, resExpected string)

EqualString use != operator to compare the arguments, then log it and fail.

func EqualUint16

func EqualUint16(t *testing.T, res, resExpected uint16)

EqualUint16 use != operator to compare the arguments, then log it and fail.

func NoErr

func NoErr(t *testing.T, err error)

NoErr use != operator to see if an error happened, then log it and fail.

Types

This section is empty.

Jump to

Keyboard shortcuts

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