first commit
This commit is contained in:
commit
a5a0434432
1126 changed files with 439481 additions and 0 deletions
20
Software/Go/grovepi_test.go
Normal file
20
Software/Go/grovepi_test.go
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
func TestLED(t *testing.T) {
|
||||
fmt.Println("start test now ...")
|
||||
var result = runLED()
|
||||
assert.Equal(t, "done", result, "should return 'done'")
|
||||
}
|
||||
|
||||
func TestDHT(t *testing.T) {
|
||||
fmt.Println("start test now ...")
|
||||
var result = runDHT()
|
||||
assert.Equal(t, "done", result, "should return 'done'")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue