Skip to content

Commit dbcef28

Browse files
committed
Add tests for bugs reported in beta
I can't reproduce either of these bugs locally, but more regression tests didn't hurt anyone.
1 parent eef64ec commit dbcef28

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

tests/test_navx.py

+10
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,13 @@ def test_get_angle():
99
def test_get_rotation2d():
1010
imu = navx.AHRS.create_spi()
1111
imu.getRotation2d()
12+
13+
14+
def test_get_board_yaw_axis():
15+
imu = navx.AHRS.create_spi()
16+
imu.getBoardYawAxis()
17+
18+
19+
def test_get_velocity_x():
20+
imu = navx.AHRS.create_spi()
21+
imu.getVelocityX()

0 commit comments

Comments
 (0)