mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
16 lines
324 B
Go
16 lines
324 B
Go
package tools
|
|
|
|
import "testing"
|
|
|
|
func TestFacadeConstructorsRemainAvailable(t *testing.T) {
|
|
if NewI2CTool() == nil {
|
|
t.Fatal("NewI2CTool should return a tool")
|
|
}
|
|
if NewSPITool() == nil {
|
|
t.Fatal("NewSPITool should return a tool")
|
|
}
|
|
if NewMessageTool() == nil {
|
|
t.Fatal("NewMessageTool should return a tool")
|
|
}
|
|
}
|