All checks were successful
Generate Documentation / build (push) Successful in 36s
43 lines
683 B
C++
43 lines
683 B
C++
#include <Arduino.h>
|
|
#include <unity.h>
|
|
|
|
void setUp(void)
|
|
{
|
|
// set stuff up here
|
|
}
|
|
|
|
void tearDown(void)
|
|
{
|
|
// clean stuff up here
|
|
}
|
|
|
|
void test_function_should_doBlahAndBlah(void)
|
|
{
|
|
TEST_ASSERT_TRUE(true);
|
|
}
|
|
|
|
void test_function_should_doAlsoDoBlah(void)
|
|
{
|
|
TEST_ASSERT_TRUE(true);
|
|
}
|
|
|
|
int runUnityTests(void)
|
|
{
|
|
UNITY_BEGIN();
|
|
RUN_TEST(test_function_should_doBlahAndBlah);
|
|
RUN_TEST(test_function_should_doAlsoDoBlah);
|
|
return UNITY_END();
|
|
}
|
|
|
|
/**
|
|
* For Arduino framework
|
|
*/
|
|
void setup()
|
|
{
|
|
// Wait ~2 seconds before the Unity test runner
|
|
// establishes connection with a board Serial interface
|
|
delay(2000);
|
|
|
|
runUnityTests();
|
|
}
|
|
void loop() {} |