mirror of
https://github.com/RobTillaart/I2C_EEPROM.git
synced 2026-07-28 04:16:22 +00:00
fix unit test
This commit is contained in:
@@ -23,16 +23,11 @@
|
||||
|
||||
#include <ArduinoUnitTests.h>
|
||||
|
||||
#define assertEqualFloat(arg1, arg2, arg3) assertOp("assertEqualFloat", "expected", fabs(arg1 - arg2), compareLessOrEqual, "<=", "actual", arg3)
|
||||
#define assertEqualINF(arg) assertOp("assertEqualINF", "expected", INFINITY, compareEqual, "==", "actual", arg)
|
||||
#define assertEqualNAN(arg) assertOp("assertEqualNAN", "expected", true, compareEqual, "==", "actual", isnan(arg))
|
||||
|
||||
|
||||
#include "Arduino.h"
|
||||
#include "I2C_eeprom.h"
|
||||
|
||||
|
||||
|
||||
unittest_setup()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user