Skip to content

Commit

Permalink
Add Start test for ArdroneDriver
Browse files Browse the repository at this point in the history
  • Loading branch information
zankich committed Dec 18, 2014
1 parent ca4e590 commit 7200bf1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion platforms/ardrone/ardrone_driver_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,17 @@ func initTestArdroneDriver() *ArdroneDriver {
return d
}

func TestArdroneDriverStart(t *testing.T) {
func TestArdroneDriver(t *testing.T) {
d := initTestArdroneDriver()
gobot.Assert(t, d.Name(), "drone")
gobot.Assert(t, d.Connection().Name(), "drone")
}

func TestArdroneDriverStart(t *testing.T) {
d := initTestArdroneDriver()
gobot.Assert(t, len(d.Start()), 0)
}

func TestArdroneDriverHalt(t *testing.T) {
d := initTestArdroneDriver()
gobot.Assert(t, len(d.Halt()), 0)
Expand Down

0 comments on commit 7200bf1

Please sign in to comment.