Added tests. Start them by sending a message to MQTT_TOPIC/run_tests. First test will test all effects for memory leaks.
This commit is contained in:
@ -11,7 +11,7 @@ extern uint8_t cycle_effects_count;
|
||||
extern Effect* current_effect;
|
||||
extern ClockEffect effect_clock;
|
||||
|
||||
Effect* string_to_effect(String s);
|
||||
Effect* select_effect(uint32_t c);
|
||||
bool change_current_effect(String s);
|
||||
void setup_effects();
|
||||
|
||||
|
6
include/tests.h
Normal file
6
include/tests.h
Normal file
@ -0,0 +1,6 @@
|
||||
#pragma once
|
||||
|
||||
namespace tests {
|
||||
void run();
|
||||
void test_effects_for_memory_leaks();
|
||||
}
|
Reference in New Issue
Block a user