23 lines
383 B
C++
23 lines
383 B
C++
#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);
|
|
RUN_TEST(TestConnectAPI);
|
|
// RUN_TEST(TestConnectAPIFailed);
|
|
RUN_TEST(TestSendValue);
|
|
|
|
|
|
UNITY_END();
|
|
}
|
|
|
|
|
|
|
|
void loop() {
|
|
|
|
} |