1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-26 13:48:49 +08:00
hybridgroup.gobot/sysfs/i2c_device_test.go

13 lines
160 B
Go
Raw Normal View History

2014-10-30 16:06:04 -07:00
package sysfs
import (
"io"
"os"
"testing"
)
func TestNewI2cDevice(t *testing.T) {
i, _ := NewI2cDevice(os.DevNull, 0xff)
var _ io.ReadWriteCloser = i
}