#include <Arduino.h>
#include <unity.h>
#include "utils_pins.h"
#include "utils_relay.h"
Go to the source code of this file.
◆ feed_import_to_ordering_relays()
| void feed_import_to_ordering_relays |
( |
void | | ) |
|
◆ feed_surplus_to_ordering_relays()
| void feed_surplus_to_ordering_relays |
( |
void | | ) |
|
◆ loop()
◆ setUp()
◆ setup()
◆ tearDown()
◆ test_duration_overflow()
| void test_duration_overflow |
( |
void | | ) |
|
◆ test_duration_overflow_saturates_at_uint16_max()
| void test_duration_overflow_saturates_at_uint16_max |
( |
void | | ) |
|
◆ test_duration_overflow_stays_at_max_after_more_increments()
| void test_duration_overflow_stays_at_max_after_more_increments |
( |
void | | ) |
|
◆ test_duration_overflow_wrap_would_block_relay()
| void test_duration_overflow_wrap_would_block_relay |
( |
void | | ) |
|
◆ test_get_importThreshold()
| void test_get_importThreshold |
( |
void | | ) |
|
◆ test_get_minOFF()
| void test_get_minOFF |
( |
void | | ) |
|
◆ test_get_minON()
| void test_get_minON |
( |
void | | ) |
|
◆ test_get_pin()
| void test_get_pin |
( |
void | | ) |
|
◆ test_get_size()
| void test_get_size |
( |
void | | ) |
|
◆ test_get_surplusThreshold()
| void test_get_surplusThreshold |
( |
void | | ) |
|
◆ test_isRelayON()
| void test_isRelayON |
( |
void | | ) |
|
◆ test_proceed_relay()
| void test_proceed_relay |
( |
void | | ) |
|
◆ test_proceed_settle_change()
| void test_proceed_settle_change |
( |
void | | ) |
|
◆ test_relay_initialization()
| void test_relay_initialization |
( |
void | | ) |
|
◆ test_relay_initialization_with_negative_thresholds()
| void test_relay_initialization_with_negative_thresholds |
( |
void | | ) |
|
◆ test_relay_initialization_with_positive_thresholds()
| void test_relay_initialization_with_positive_thresholds |
( |
void | | ) |
|
◆ test_relay_ordering()
| void test_relay_ordering |
( |
void | | ) |
|
◆ test_relay_ordering_import_turns_off_descending()
| void test_relay_ordering_import_turns_off_descending |
( |
void | | ) |
|
◆ test_relay_ordering_surplus_turns_on_ascending()
| void test_relay_ordering_surplus_turns_on_ascending |
( |
void | | ) |
|
◆ test_relay_override_minimum_ON_time()
| void test_relay_override_minimum_ON_time |
( |
void | | ) |
|
◆ test_relay_override_turnON()
| void test_relay_override_turnON |
( |
void | | ) |
|
◆ test_relay_turnOFF()
| void test_relay_turnOFF |
( |
void | | ) |
|
◆ test_relay_turnON()
| void test_relay_turnON |
( |
void | | ) |
|
◆ test_settle_change_allows_changes_after_60_seconds()
| void test_settle_change_allows_changes_after_60_seconds |
( |
void | | ) |
|
◆ test_settle_change_blocks_initial_relay_changes()
| void test_settle_change_blocks_initial_relay_changes |
( |
void | | ) |
|
◆ test_settle_change_blocks_turn_off_as_well()
| void test_settle_change_blocks_turn_off_as_well |
( |
void | | ) |
|
◆ test_settle_change_resets_after_relay_change()
| void test_settle_change_resets_after_relay_change |
( |
void | | ) |
|
◆ wait_for_relay_change_allowed()
| void wait_for_relay_change_allowed |
( |
void | | ) |
|
◆ orderingTestRelays
Initial value:
{ { 11, 500, 100, 1, 1 },
{ 12, 500, 100, 1, 1 },
{ 13, 500, 100, 1, 1 } } }
Definition at line 393 of file test_main.cpp.
◆ overflowTestRelays
Initial value:
{ { 10, 500, 100, 1, 1 } } }
Definition at line 536 of file test_main.cpp.
◆ relays
Initial value:{ { { 2, 1000, 200, 1, 1 },
{ 3, 100, 20, 2, 3 } } }
Definition at line 8 of file test_main.cpp.
◆ settleTestRelays
Initial value:
{ { 8, 500, 100, 1, 1 },
{ 9, 800, 150, 1, 1 } } }
Definition at line 239 of file test_main.cpp.