Skip to content

Commit

Permalink
all cases
Browse files Browse the repository at this point in the history
  • Loading branch information
maxime-desroches committed Oct 1, 2024
1 parent b4ee17e commit 13e3443
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions tests/safety/test_honda.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,19 @@ def test_supplemental_control_check(self):
msg = self._bosh_supplemental_cmd_msg()
self.assertTrue(self._tx(msg))

msg = self._bosh_supplemental_cmd_msg()
msg[0].data[0] = 42;
self.assertFalse(self._tx(msg))

msg = self._bosh_supplemental_cmd_msg()
msg[0].data[4] = 42;
self.assertFalse(self._tx(msg))

msg = self._bosh_supplemental_cmd_msg()
msg[0].data[4] = 0;
msg[0].data[7] = 42;
self.assertTrue(self._tx(msg))


class TestHondaBoschAltBrakeSafety(HondaPcmEnableBase, TestHondaBoschAltBrakeSafetyBase):
"""
Expand Down

0 comments on commit 13e3443

Please sign in to comment.