av/cmd/rv/probe_test.go

19 lines
201 B
Go
Raw Normal View History

package main
import (
"fmt"
"testing"
)
func TestMain(m *testing.M) {
ts := new(turbidityProbe)
frame := make([]byte, 10)
size, err := ts.Write(frame)
fmt.Println(size)
fmt.Println(err)
}