mirror of
https://github.com/bdring/Grbl_Esp32.git
synced 2025-08-31 10:01:48 +02:00
Made unit test for enums a bit bigger.
This commit is contained in:
@@ -47,10 +47,16 @@ namespace Configuration {
|
||||
|
||||
class TestBasicEnum : public Configurable {
|
||||
public:
|
||||
int aap;
|
||||
int value;
|
||||
int banaan;
|
||||
|
||||
void validate() const {}
|
||||
void handle(HandlerBase& handler) { handler.handle("type", value, stepTypes); }
|
||||
void handle(HandlerBase& handler) {
|
||||
handler.handle("aap", aap);
|
||||
handler.handle("type", value, stepTypes);
|
||||
handler.handle("banaan", banaan);
|
||||
}
|
||||
};
|
||||
|
||||
class TestHierarchical : public Configurable {
|
||||
|
Reference in New Issue
Block a user