GY-63_MS5611/libraries/M5ANGLE8/test/unit_test_001.cpp
2023-08-04 11:48:55 +02:00

52 lines
914 B
C++

//
// FILE: unit_test_001.cpp
// AUTHOR: Rob Tillaart
// DATE: 2023-08-03
// PURPOSE: unit tests for the M5ANGLE8 library
// https://github.com/RobTillaart/M5ANGLE8
// https://github.com/Arduino-CI/arduino_ci/blob/master/REFERENCE.md
//
// supported assertions
// ----------------------------
// assertEqual(expected, actual)
// assertNotEqual(expected, actual)
// assertLess(expected, actual)
// assertMore(expected, actual)
// assertLessOrEqual(expected, actual)
// assertMoreOrEqual(expected, actual)
// assertTrue(actual)
// assertFalse(actual)
// assertNull(actual)
#include <ArduinoUnitTests.h>
#include "Arduino.h"
#include "m5angle8.h"
unittest_setup()
{
fprintf(stderr, "M5ANGLE8_LIB_VERSION: %s\n", (char *) M5ANGLE8_LIB_VERSION);
}
unittest_teardown()
{
}
unittest(test_constructor)
{
M5ANGLE8 MM;
assertEqual(1, 1);
}
unittest_main()
// -- END OF FILE --