agora: Index | Files

package testing

import ""

Package testing is for internal use only, it groups useful utility functions and variables to help in testing bytecode results.


Package Files



var (
    // Useful prefilled expected byte slices
    ExpSig       = []byte{0x2A, 0x60, 0x0A, 0x00}
    ExpZeroInt64 = []byte{0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}

func AppendAny Uses

func AppendAny(b []byte, vals ...interface{}) []byte

func Int64ToByteSlice Uses

func Int64ToByteSlice(i int64) []byte

func SigVer Uses

func SigVer(maj, min int) []byte

func UInt64ToByteSlice Uses

func UInt64ToByteSlice(u uint64) []byte

Package testing imports 3 packages (graph). Updated 2016-07-21. Refresh now. Tools for package owners.