Skip to content

Commit

Permalink
Issue #34 added bit to get coverage ono position_model_actors
Browse files Browse the repository at this point in the history
  • Loading branch information
thompson318 committed Mar 10, 2022
1 parent 3a30066 commit 2b445ae
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/widgets/test_bard_overlay.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ def test_valid_config():
calib_dir = 'data/calibration/matts_mbp_640_x_480/'

bard_overlay = boa.BARDOverlayApp(config, calib_dir)
#a hack to get full coverage on position model actor
identity = np.eye(4)
bard_overlay.position_model_actors(identity)

assert np.allclose(
bard_overlay.transform_manager.get("camera2modelreference"),
Expand Down

0 comments on commit 2b445ae

Please sign in to comment.