forked from hybridgroup/gobot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
test_helper.go
22 lines (20 loc) · 1.22 KB
/
test_helper.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package bebop
type testDrone struct{}
//func (t testDrone) Close() {}
func (t testDrone) TakeOff() error { return nil }
func (t testDrone) Land() error { return nil }
func (t testDrone) Up(n int) error { return nil }
func (t testDrone) Down(n int) error { return nil }
func (t testDrone) Left(n int) error { return nil }
func (t testDrone) Right(n int) error { return nil }
func (t testDrone) Forward(n int) error { return nil }
func (t testDrone) Backward(n int) error { return nil }
func (t testDrone) Clockwise(n int) error { return nil }
func (t testDrone) CounterClockwise(n int) error { return nil }
func (t testDrone) Stop() error { return nil }
func (t testDrone) Connect() error { return nil }
func (t testDrone) Video() chan []byte { return nil }
func (t testDrone) StartRecording() error { return nil }
func (t testDrone) StopRecording() error { return nil }
func (t testDrone) HullProtection(protect bool) error { return nil }
func (t testDrone) Outdoor(outdoor bool) error { return nil }