kompare

package module
v0.0.0-...-5e30c0f Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2015 License: MIT Imports: 3 Imported by: 0

README

go-kompare

Minimal go-lang type compare suite

Documentation

Installation


$ go get github.com/stevelacy/go-kompare

Example


func TestTypeString(t *testing.T) {
  kompare.Type(t, "string", "test", "string should be string")
  kompare.Type(t, "true", true, "compare will fail")
}

Screenshot of this package's test:

Testing

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fail

func Fail(t testing, message string) bool

func Kind

func Kind(t testing, arg1, arg2 interface{}, message string) bool

func Success

func Success(t testing, message string) bool

func Type

func Type(t testing, arg1, arg2 interface{}, message string) bool

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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