3-phase PV router
Loading...
Searching...
No Matches
test_main.cpp File Reference

Native tests for config.h itself. More...

#include <unity.h>
#include "config.h"
#include "utils_dualtariff.h"
#include "utils_override.h"
Include dependency graph for test_main.cpp:

Go to the source code of this file.

Functions

int main (int, char **)
 
void setUp (void)
 
void tearDown (void)
 
void test_config_h_reads_on_its_own (void)
 
void test_targets_resolve_as_in_config_derived_h (void)
 

Detailed Description

Native tests for config.h itself.

config.h only holds settings: it builds on the PC, without Arduino and without the rest of the firmware, and its targets resolve as config_derived.h resolves them. Whatever the values in config.h, so that an edited config.h passes too.

Definition in file test_main.cpp.

Function Documentation

◆ main()

int main ( int ,
char **  )

Definition at line 45 of file test_main.cpp.

Here is the call graph for this function:

◆ setUp()

void setUp ( void )

Definition at line 17 of file test_main.cpp.

◆ tearDown()

void tearDown ( void )

Definition at line 18 of file test_main.cpp.

◆ test_config_h_reads_on_its_own()

void test_config_h_reads_on_its_own ( void )

Definition at line 20 of file test_main.cpp.

Here is the caller graph for this function:

◆ test_targets_resolve_as_in_config_derived_h()

void test_targets_resolve_as_in_config_derived_h ( void )

Definition at line 29 of file test_main.cpp.

Here is the caller graph for this function: