gobot.io/x/gobot@v1.16.0/platforms/parrot/ardrone/test_helper.go (about) 1 package ardrone 2 3 type testDrone struct{} 4 5 func (t testDrone) Takeoff() bool { return true } 6 func (t testDrone) Land() {} 7 func (t testDrone) Up(a float64) {} 8 func (t testDrone) Down(a float64) {} 9 func (t testDrone) Left(a float64) {} 10 func (t testDrone) Right(a float64) {} 11 func (t testDrone) Forward(a float64) {} 12 func (t testDrone) Backward(a float64) {} 13 func (t testDrone) Clockwise(a float64) {} 14 func (t testDrone) Counterclockwise(a float64) {} 15 func (t testDrone) Hover() {}