func ClientTestWriteIntDB(t *testing.T, client gos7.Client, value int16) {
	address := 2710
	start := 8
	size := 2
	buffer := make([]byte, 255)
	var helper gos7.Helper
	helper.SetValueAt(buffer, 0, value)
	err := client.AGWriteDB(address, start, size, buffer)
	if err != nil {
		t.Fatal(err)
	}
	AssertEquals(t, err, nil)  
}
ClientTestWriteIntDB client test write int
package test
import (
	"encoding/binary"
	"runtime"
	"strings"
	"testing"
	"../../gos7"
)
func ClientTestAll(t *testing.T, client gos7.Client) {
	ClientTestWriteIntDB(t, client, 100)
	ClientTestReadIntDB(t, client)
	ClientTestWriteIntDB(t, client, 0)
	ClientTestDirectory(t, client)
	ClientTestGetCPUInfo(t, client)
	ClientTestGetAGBlockInfo(t, client)
	ClientPLCGetStatus(t, client)
	ClientAGWriteMulti(t, client)
	ClientAGReadMulti(t, client)
}