// Return a formatted error if expected != actual
Return a formatted error if expected != actual
// Return a formatted error if expected ! = actual
func assertEqualInt(expected int, actual int, message string) (err error) {
	if expected != actual {
		_, fn, line, _ := runtime.Caller(1) 
		if message != "" {
			msg := fmt.Sprintf("assertEqual failed [%s:%d]: %d expected, actual: %d - %s",
				fn, line, expected, actual, message)
			return errors.New(msg)
		} else {
			msg := fmt.Sprintf("assertEqual failed [%s:%d]: %d expected, actual: %d",
				fn, line, expected, actual)
			return errors.New(msg)
		}
	}
	return nil
}
func assertEqualInt ( expected int , actual int , message string ) ( err error ) { if expected != actual { _ , fn , line , _ := runtime . Caller ( 1 ) if message != " " { msg := fmt . Sprintf ( " " , fn , line , expected , actual , message ) return errors . New ( msg ) } else { msg := fmt . Sprintf ( " " , fn , line , expected , actual ) return errors . New ( msg ) } } return nil }
Return a formatted error if expected != actual
Return a formatted error if expected ! = actual
// the file and line number of the caller