mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-11-04 19:43:49 +08:00
Cover Impreza MAIN words in the exhaustive AOL protocol contract
This commit is contained in:
@@ -95,7 +95,8 @@ int main() {
|
||||
subaru.safety_param = static_cast<uint16_t>(word);
|
||||
subaru.capability_flags = 1U;
|
||||
const bool expected = (word == 16U) || (word == 0U) || (word == 1U) || (word == 17U) ||
|
||||
(word == 209U) || (word == 465U) || (word == 145U) || (word == 1169U) || (word == 1425U) || (word == 401U) || (word == 177U) || (word == 8U) || (word == 520U) || (word == 512U) || (word == 2225U);
|
||||
(word == 209U) || (word == 465U) || (word == 145U) || (word == 1169U) || (word == 1425U) || (word == 401U) || (word == 177U) || (word == 8U) || (word == 520U) || (word == 512U) || (word == 2225U) ||
|
||||
(word == 4096U) || (word == 4104U) || (word == 4608U) || (word == 4616U);
|
||||
assert(aol_capable(subaru, 11U, VEHICLE_REGISTRY) == expected);
|
||||
subaru.capability_flags = 0U;
|
||||
assert(!aol_capable(subaru, 11U, VEHICLE_REGISTRY));
|
||||
|
||||
+1
-1
@@ -1 +1 @@
|
||||
{"protected_inventory_sha256": "d7b4a160cc976f0f185161e66ca79eda0e872a574013ab8481a5e8411a1f78c3", "schema_version": 1}
|
||||
{"protected_inventory_sha256": "1d437e843577abf8819f1adfb6b0769fcc66304fcb08098db56d98386dff0d6a", "schema_version": 1}
|
||||
|
||||
Reference in New Issue
Block a user