Documentation
¶
Index ¶
- func CheckBool(t *testing.T, descriptor string, expected bool, result bool)
- func CheckFloat(t *testing.T, descriptor string, expected float64, result float64)
- func CheckInt64(t *testing.T, descriptor string, expected int64, result int64)
- func CheckString(t *testing.T, descriptor string, expected string, result string)
- func CheckTime(t *testing.T, descriptor string, expected time.Time, result time.Time)
- func GetDate(t *testing.T, date string) time.Time
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckBool ¶
CheckBool checks expected and result boolean are equals. If not equals it sets the testing.T in error and prints an error message containing the field descriptor.
func CheckFloat ¶
CheckFloat checks expected and result float64 are equals. As float are by nature approximated this method is known fragile.
func CheckInt64 ¶
CheckInt64 checks expected and result int64 are equals. If not equals it sets the testing.T in error and prints an error message containing the field descriptor.
func CheckString ¶
CheckString checks expected and result string are equals. If not equals it sets the testing.T in error and prints an error message containing the field descriptor.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.