1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
hybridgroup.gobot/sysfs/i2c_device_test.go
2014-10-30 16:06:04 -07:00

13 lines
160 B
Go

package sysfs
import (
"io"
"os"
"testing"
)
func TestNewI2cDevice(t *testing.T) {
i, _ := NewI2cDevice(os.DevNull, 0xff)
var _ io.ReadWriteCloser = i
}