Formula Student Electronics & Software
The code for the embedded software
Loading...
Searching...
No Matches
test_assi_car.cpp File Reference
#include "embedded/digitalSender.hpp"
#include "embedded/digitalSettings.hpp"
#include "metro.h"
#include "unity.h"
Include dependency graph for test_assi_car.cpp:

Go to the source code of this file.

Functions

void setUp (void)
 
void test_enterEmergencyState_and_turn_off_LEDS (void)
 Test the enterEmergency state function PROTOCOL:
 
void test_enterDrivingState_and_turn_off_LEDS (void)
 Test the enterDrivingState function PROTOCOL:
 
void test_enterFinishState_and_turn_off_LEDS (void)
 Test the enterFinishState function PROTOCOL:
 
void test_enterReadyState_and_turn_off_LEDS (void)
 Test the enterReadyState function PROTOCOL:
 
int main ()
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 70 of file test_assi_car.cpp.

Here is the call graph for this function:

◆ setUp()

void setUp ( void  )

Definition at line 6 of file test_assi_car.cpp.

◆ test_enterDrivingState_and_turn_off_LEDS()

void test_enterDrivingState_and_turn_off_LEDS ( void  )

Test the enterDrivingState function PROTOCOL:

Attention
PROTOCOL TEST IN CAR
  1. ASSERT - Observe that after only LEDS 2, 3 return on

Definition at line 30 of file test_assi_car.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_enterEmergencyState_and_turn_off_LEDS()

void test_enterEmergencyState_and_turn_off_LEDS ( void  )

Test the enterEmergency state function PROTOCOL:

Attention
PROTOCOL TEST IN CAR
  1. ASSERT - Observe that after only LEDS 2, 3 return on

Definition at line 14 of file test_assi_car.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_enterFinishState_and_turn_off_LEDS()

void test_enterFinishState_and_turn_off_LEDS ( void  )

Test the enterFinishState function PROTOCOL:

Attention
PROTOCOL TEST IN CAR
  1. ASSERT - Observe that after only LEDS 2, 3 return on

Definition at line 46 of file test_assi_car.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_enterReadyState_and_turn_off_LEDS()

void test_enterReadyState_and_turn_off_LEDS ( void  )

Test the enterReadyState function PROTOCOL:

Attention
PROTOCOL TEST IN CAR
  1. ASSERT - Observe that after only LEDS 2, 3 return on

Definition at line 61 of file test_assi_car.cpp.

Here is the call graph for this function:
Here is the caller graph for this function: