Skip to content

Commit

Permalink
Add tests for bugs reported in beta
Browse files Browse the repository at this point in the history
I can't reproduce either of these bugs locally, but more regression
tests didn't hurt anyone.
  • Loading branch information
auscompgeek committed Jan 1, 2025
1 parent eef64ec commit dbcef28
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/test_navx.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,13 @@ def test_get_angle():
def test_get_rotation2d():
imu = navx.AHRS.create_spi()
imu.getRotation2d()


def test_get_board_yaw_axis():
imu = navx.AHRS.create_spi()
imu.getBoardYawAxis()


def test_get_velocity_x():
imu = navx.AHRS.create_spi()
imu.getVelocityX()

0 comments on commit dbcef28

Please sign in to comment.