mirror of https://bitbucket.org/ausocean/av.git
19 lines
201 B
Go
19 lines
201 B
Go
|
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)
|
||
|
}
|