3-phase PV router
Loading...
Searching...
No Matches
Functions | Variables
test_main.cpp File Reference
#include <Arduino.h>
#include <U8g2lib.h>
#include <unity.h>
#include "utils_pins.h"
#include "utils_relay.h"
Include dependency graph for test_main.cpp:

Go to the source code of this file.

Functions

void loop ()
 
void setup ()
 
void setUp (void)
 
void tearDown (void)
 
void test_get_importThreshold (void)
 
void test_get_minOFF (void)
 
void test_get_minON (void)
 
void test_get_pin (void)
 
void test_get_size (void)
 
void test_get_surplusThreshold (void)
 
void test_isRelayON (void)
 
void test_proceed_relay (void)
 
void test_relay_initialization (void)
 
void test_relay_initialization_with_negative_thresholds (void)
 
void test_relay_initialization_with_positive_thresholds (void)
 
void test_relay_turnOFF (void)
 
void test_relay_turnON (void)
 

Variables

constexpr RelayEngine relays
 

Function Documentation

◆ loop()

void loop ( )

Definition at line 152 of file test_main.cpp.

Here is the call graph for this function:

◆ setup()

void setup ( )

Definition at line 145 of file test_main.cpp.

◆ setUp()

void setUp ( void  )

Definition at line 12 of file test_main.cpp.

Here is the call graph for this function:

◆ tearDown()

void tearDown ( void  )

Definition at line 17 of file test_main.cpp.

◆ test_get_importThreshold()

void test_get_importThreshold ( void  )

Definition at line 58 of file test_main.cpp.

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

◆ test_get_minOFF()

void test_get_minOFF ( void  )

Definition at line 70 of file test_main.cpp.

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

◆ test_get_minON()

void test_get_minON ( void  )

Definition at line 64 of file test_main.cpp.

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

◆ test_get_pin()

void test_get_pin ( void  )

Definition at line 46 of file test_main.cpp.

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

◆ test_get_size()

void test_get_size ( void  )

Definition at line 140 of file test_main.cpp.

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

◆ test_get_surplusThreshold()

void test_get_surplusThreshold ( void  )

Definition at line 52 of file test_main.cpp.

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

◆ test_isRelayON()

void test_isRelayON ( void  )

Definition at line 76 of file test_main.cpp.

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

◆ test_proceed_relay()

void test_proceed_relay ( void  )

Definition at line 133 of file test_main.cpp.

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

◆ test_relay_initialization()

void test_relay_initialization ( void  )

Definition at line 22 of file test_main.cpp.

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

◆ test_relay_initialization_with_negative_thresholds()

void test_relay_initialization_with_negative_thresholds ( void  )

Definition at line 38 of file test_main.cpp.

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

◆ test_relay_initialization_with_positive_thresholds()

void test_relay_initialization_with_positive_thresholds ( void  )

Definition at line 30 of file test_main.cpp.

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

◆ test_relay_turnOFF()

void test_relay_turnOFF ( void  )

Definition at line 107 of file test_main.cpp.

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

◆ test_relay_turnON()

void test_relay_turnON ( void  )

Definition at line 81 of file test_main.cpp.

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

Variable Documentation

◆ relays

constexpr RelayEngine relays
constexpr
Initial value:
{ { { 2, 1000, 200, 1, 1 },
{ 3, 100, 20, 2, 3 } } }

Definition at line 9 of file test_main.cpp.