internal

package
v1.4.3 Latest Latest
Warning

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

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

Documentation

Overview

Package internal is for internal use.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Assert added in v1.1.9

type Assert struct {
	T        *testing.T
	CaseName string
}

Assert is a simple implementation of assertion, only for internal usage

func NewAssert added in v1.1.9

func NewAssert(t *testing.T, caseName string) *Assert

NewAssert return instance of Assert

func (*Assert) Equal added in v1.1.9

func (a *Assert) Equal(expected, actual interface{})

Equal check if expected is equal with actual

func (*Assert) EqualValues added in v1.3.9

func (a *Assert) EqualValues(expected, actual interface{})

EqualValues asserts that two objects are equal or convertable to the same types and equal. https://github.com/stretchr/testify/assert/assertions.go

func (*Assert) Greater added in v1.1.9

func (a *Assert) Greater(expected, actual interface{})

Greater check if expected is greate than actual

func (*Assert) GreaterOrEqual added in v1.1.9

func (a *Assert) GreaterOrEqual(expected, actual interface{})

GreaterOrEqual check if expected is greate than or equal with actual

func (*Assert) IsNil added in v1.1.9

func (a *Assert) IsNil(value interface{})

IsNil check if value is nil

func (*Assert) IsNotNil added in v1.1.9

func (a *Assert) IsNotNil(value interface{})

IsNotNil check if value is not nil

func (*Assert) Less added in v1.1.9

func (a *Assert) Less(expected, actual interface{})

Less check if expected is less than actual

func (*Assert) LessOrEqual added in v1.1.9

func (a *Assert) LessOrEqual(expected, actual interface{})

LessOrEqual check if expected is less than or equal with actual

func (*Assert) NotEqual added in v1.1.9

func (a *Assert) NotEqual(expected, actual interface{})

NotEqual check if expected is not equal with actual

Jump to

Keyboard shortcuts

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