Demo page details

Page source code: swe_4_unit_tests.rst

 1{% set page="swe_4_unit_tests.rst" %}
 2{% include "demo_page_header.rst" with context %}
 3
 4.. _SWE4_Test_Case_Documentation:
 5
 6
 7SWE.4 Unit Tests
 8================
 9
10This document provides the test case documentation for the software functionalities as
11per SWE.1 and SWE.2 requirements.
12
13.. automodule:: automotive_adas_tests
14   :members:
15   :undoc-members:
16   :show-inheritance:

SWE.4 Unit Tests

This document provides the test case documentation for the software functionalities as per SWE.1 and SWE.2 requirements.

class automotive_adas_tests.TestAdaptiveCruiseControl(methodName='runTest')[source]

Bases: TestCase

test_adjust_speed()[source]
test_measure_distance()[source]
class automotive_adas_tests.TestBlindSpotMonitor(methodName='runTest')[source]

Bases: TestCase

test_lane_change_warning_triggers_only_when_occupied()[source]
test_zone_occupancy_from_radar()[source]
class automotive_adas_tests.TestCollisionAvoidance(methodName='runTest')[source]

Bases: TestCase

test_apply_emergency_braking()[source]
test_detect_collision_risk()[source]
class automotive_adas_tests.TestDrowsinessMonitor(methodName='runTest')[source]

Bases: TestCase

test_alert_fires_when_eyes_closed_for_long_enough()[source]
test_alert_quiet_for_alert_driver()[source]
class automotive_adas_tests.TestLaneDetection(methodName='runTest')[source]

Bases: TestCase

test_apply_steering_correction()[source]
test_detect_lane_markings()[source]
class automotive_adas_tests.TestParkingAssist(methodName='runTest')[source]

Bases: TestCase

test_detects_first_parallel_slot_meeting_size()[source]
test_plan_trajectory_varies_by_slot_kind()[source]
class automotive_adas_tests.TestPedestrianDetection(methodName='runTest')[source]

Bases: TestCase

test_alert_driver()[source]
test_detect_pedestrians()[source]
test_initiate_emergency_brake()[source]
class automotive_adas_tests.TestTrafficSignRecognition(methodName='runTest')[source]

Bases: TestCase

test_detect_speed_limit()[source]