func Failed(message string, val ...interface{}) {
	if testing.Verbose() {
		logger.Output(2, fmt.Sprintf("\t%s\t %s\n", failedMark, fmt.Sprintf(message, val...)))
	}
	os.Exit(1)
}
Failed logs the failure of a test using the giving message and values.
Failed calls os.Exit(1) after printing.
package tests
import (
	"fmt"
	"log"
	"os"
	"testing"
)
const succeedMark = "\u2713"
var logger = log.New(os.Stdout, "", log.Lshortfile)
func Header(message string, val ...interface{}) {
	if testing.Verbose() {
		logger.Output(2, fmt.Sprintf("\t%s\n", fmt.Sprintf(message, val...)))
	}
}
func Info(message string, val ...interface{}) {
	if testing.Verbose() {
		logger.Output(2, fmt.Sprintf("\t-\t %s\n", fmt.Sprintf(message, val...)))
	}
}
func Passed(message string, val ...interface{}) {
	if testing.Verbose() {
		logger.Output(2, fmt.Sprintf("\t%s\t %s\n", succeedMark, fmt.Sprintf(message, val...)))
	}
}
func PassedWithError(err error, message string, val ...interface{}) {
	if testing.Verbose() {
		logger.Output(2, fmt.Sprintf("\t%s\t %s\n", succeedMark, fmt.Sprintf(message, val...)))
		if err != nil {
			logger.Output(2, fmt.Sprintf("\t-\t Received Expected Error: %+q\n", err))
		}
	}
}
const failedMark = "\u2717"