Documentation
¶
Index ¶
- type XT
- func (x XT) Assert(cond bool)
- func (x XT) Assertf(cond bool, format string, msg ...interface{})
- func (x XT) Contains(a interface{}, needle string)
- func (x XT) Containsf(a interface{}, needle string, format string, msg ...interface{})
- func (x XT) DeepEqual(a interface{}, b interface{})
- func (x XT) DeepEqualf(a interface{}, b interface{}, format string, msg ...interface{})
- func (x XT) Equal(a interface{}, b interface{})
- func (x XT) Equalf(a interface{}, b interface{}, format string, msg ...interface{})
- func (x XT) False(cond bool)
- func (x XT) Falsef(cond bool, format string, msg ...interface{})
- func (x XT) Nil(a interface{})
- func (x XT) Nilf(a interface{}, fmt string, msg ...interface{})
- func (x XT) NotEqual(a interface{}, b interface{}, msg ...interface{})
- func (x XT) NotEqualf(a interface{}, b interface{}, format string, msg ...interface{})
- func (x XT) NotNil(a interface{})
- func (x XT) NotNilf(a interface{}, fmt string, msg ...interface{})
- func (x XT) True(cond bool)
- func (x XT) Truef(cond bool, format string, msg ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type XT ¶
XT is a testing.T - extension, adding a tiny bit of convenience, making tests more fun to write.
func (XT) DeepEqual ¶
func (x XT) DeepEqual(a interface{}, b interface{})
DeepEqual verified that two arguments are deeply equal
func (XT) DeepEqualf ¶
DeepEqualf verified that two arguments are deeply equal
func (XT) Equal ¶
func (x XT) Equal(a interface{}, b interface{})
Equal verifies that the two arguments are equal
func (XT) NotEqual ¶
func (x XT) NotEqual(a interface{}, b interface{}, msg ...interface{})
NotEqual verifies that the two arguments are not equal
Click to show internal directories.
Click to hide internal directories.