feat: add Test for WifiConnect API

This commit is contained in:
Mathis
2023-04-24 12:22:52 +02:00
parent 9811022b76
commit 5784e38fbb
7 changed files with 71 additions and 14 deletions

20
IOT/test/main.cpp Normal file
View File

@ -0,0 +1,20 @@
#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);
UNITY_END();
}
void loop() {
}