2023-04-24 12:22:52 +02:00
|
|
|
#include <Arduino.h>
|
|
|
|
#include <unity.h>
|
|
|
|
#include "test.h"
|
|
|
|
void setup() {
|
|
|
|
delay(2000);
|
|
|
|
// start unit tests engine
|
|
|
|
UNITY_BEGIN();
|
|
|
|
Serial.begin(115200);
|
|
|
|
RUN_TEST(TestWifiBeginConnected);
|
|
|
|
RUN_TEST(TestWifiBeginNotConnected);
|
2023-04-24 14:54:26 +02:00
|
|
|
RUN_TEST(TestConnectAPI);
|
|
|
|
// RUN_TEST(TestConnectAPIFailed);
|
2023-04-24 15:49:16 +02:00
|
|
|
RUN_TEST(TestSendValue);
|
2023-04-24 12:22:52 +02:00
|
|
|
|
|
|
|
|
|
|
|
UNITY_END();
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void loop() {
|
|
|
|
|
|
|
|
}
|