mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-07 06:32:08 +08:00
Toyota: LTA unit test (#30613)
LTA unit test old-commit-hash: 67d6186bbd5b19269162453a6028cabd6a2fabfc
This commit is contained in:
@@ -17,6 +17,10 @@ class TestToyotaInterfaces(unittest.TestCase):
|
||||
self.assertTrue(len(ANGLE_CONTROL_CAR - TSS2_CAR) == 0)
|
||||
self.assertTrue(len(RADAR_ACC_CAR - TSS2_CAR) == 0)
|
||||
|
||||
def test_lta_platforms(self):
|
||||
# At this time, only RAV4 2023 is expected to use LTA/angle control
|
||||
self.assertEqual(ANGLE_CONTROL_CAR, {CAR.RAV4_TSS2_2023})
|
||||
|
||||
def test_tss2_dbc(self):
|
||||
# We make some assumptions about TSS2 platforms,
|
||||
# like looking up certain signals only in this DBC
|
||||
|
||||
Reference in New Issue
Block a user