test

package
v0.0.0-...-45e33f0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

@Author zhanglingyu

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equal

func Equal(t *testing.T, expected, actual interface{})

Equal @Description: Expected to be equal. @param t @param expected @param actual

func Gt

func Gt(t *testing.T, a, b float64)

Gt @Description: Expect a greater than b. @param t @param a @param b

func Gte

func Gte(t *testing.T, a, b float64)

Gte @Description: Expect a greater than or equal to b. @param t @param a @param b

func RangeValue

func RangeValue(t *testing.T, min, max, actual float64)

RangeValue @Description: Expected value needs to be within range. @param t @param min @param max @param actual

func Unequal

func Unequal(t *testing.T, expected, actual interface{})

Unequal @Description: Expected to be unequal. @param t @param expected @param actual

Types

This section is empty.

Jump to

Keyboard shortcuts

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