3-phase PV router
Loading...
Searching...
No Matches
test_main.cpp File Reference
#include <unity.h>
#include <cstdio>
#include <vector>
#include <string>
Include dependency graph for test_main.cpp:

Go to the source code of this file.

Classes

struct  CloudPattern
 
class  EWMA_average< A >
 Implements an Exponentially Weighted Moving Average (EWMA). More...
 
class  TestRelay
 

Typedefs

typedef unsigned char byte
 

Functions

std::vector< CloudPatterncreate_cloud_patterns ()
 
constexpr uint8_t delay_minutes_to_alpha (uint8_t delay_minutes)
 
int main ()
 
constexpr uint8_t round_up_to_power_of_2 (uint16_t v)
 
void setUp (void)
 
void tearDown (void)
 
void test_battery_system_pattern ()
 
void test_cloud_pattern_with_filter_delays (const CloudPattern &pattern)
 
void test_filter_delay_configuration_guide ()
 
void test_heavy_cloud_bank_pattern ()
 
void test_intermittent_clouds_pattern ()
 
void test_morning_fog_clearing_pattern ()
 
void test_scattered_clouds_pattern ()
 
void test_storm_approach_pattern ()
 

Typedef Documentation

◆ byte

typedef unsigned char byte

Definition at line 7 of file test_main.cpp.

Function Documentation

◆ create_cloud_patterns()

std::vector< CloudPattern > create_cloud_patterns ( )

Definition at line 140 of file test_main.cpp.

Here is the caller graph for this function:

◆ delay_minutes_to_alpha()

uint8_t delay_minutes_to_alpha ( uint8_t delay_minutes)
constexpr

Definition at line 70 of file test_main.cpp.

◆ main()

int main ( )

Definition at line 586 of file test_main.cpp.

Here is the call graph for this function:

◆ round_up_to_power_of_2()

uint8_t round_up_to_power_of_2 ( uint16_t v)
constexpr

Definition at line 10 of file test_main.cpp.

Here is the caller graph for this function:

◆ setUp()

void setUp ( void )

Definition at line 349 of file test_main.cpp.

◆ tearDown()

void tearDown ( void )

Definition at line 354 of file test_main.cpp.

◆ test_battery_system_pattern()

void test_battery_system_pattern ( )

Definition at line 534 of file test_main.cpp.

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

◆ test_cloud_pattern_with_filter_delays()

void test_cloud_pattern_with_filter_delays ( const CloudPattern & pattern)

Definition at line 360 of file test_main.cpp.

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

◆ test_filter_delay_configuration_guide()

void test_filter_delay_configuration_guide ( )

Definition at line 541 of file test_main.cpp.

Here is the caller graph for this function:

◆ test_heavy_cloud_bank_pattern()

void test_heavy_cloud_bank_pattern ( )

Definition at line 506 of file test_main.cpp.

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

◆ test_intermittent_clouds_pattern()

void test_intermittent_clouds_pattern ( )

Definition at line 513 of file test_main.cpp.

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

◆ test_morning_fog_clearing_pattern()

void test_morning_fog_clearing_pattern ( )

Definition at line 520 of file test_main.cpp.

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

◆ test_scattered_clouds_pattern()

void test_scattered_clouds_pattern ( )

Definition at line 499 of file test_main.cpp.

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

◆ test_storm_approach_pattern()

void test_storm_approach_pattern ( )

Definition at line 527 of file test_main.cpp.

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