panda/tests/safety
Justin Newberry 7dbdf6ba2b
Safety Tests: Create common gas brake safety test (#1537)
* create common gas brake safety test

* remove unrelated subaru reference

* also test below min_value

* better name and hardcoded

* use same as acceleration limits

* revert gm

* remove callable

* added common brake test and moved generic test to base safety class

* remove duplicate test

* wip

* wip

* rename longitudinalaccelsafety

* revert limits correct test

* fix controls allowed test

* move gm over to long gas brake test

* assert that limits are reasonable

* fix typing

* fix linter again

* fix linter again

* fix linter again

* like to make it clear

* typo

* fix from merge

* clearer names

* dont need thesemore

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2023-08-12 14:03:40 -07:00
..
__init__.py
common.py Safety Tests: Create common gas brake safety test (#1537) 2023-08-12 14:03:40 -07:00
hyundai_common.py
test.sh
test_chrysler.py
test_ford.py
test_gm.py GM: move more longitudinal related function into class (#1574) 2023-08-10 23:59:58 -07:00
test_honda.py ruff: enable bugbear checks (#1565) 2023-08-06 14:59:22 -07:00
test_hyundai.py
test_hyundai_canfd.py
test_mazda.py
test_nissan.py
test_subaru.py Subaru: convert measured angle to centigrees (#1567) 2023-08-07 09:29:34 -07:00
test_subaru_preglobal.py
test_tesla.py
test_toyota.py
test_volkswagen_mqb.py
test_volkswagen_pq.py