summaryrefslogtreecommitdiff
path: root/tests/cutest/CuTest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cutest/CuTest.c')
-rw-r--r--tests/cutest/CuTest.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/cutest/CuTest.c b/tests/cutest/CuTest.c
index dc7ebd9..b033483 100644
--- a/tests/cutest/CuTest.c
+++ b/tests/cutest/CuTest.c
@@ -211,16 +211,6 @@ void CuAssertIntEquals_LineMsg(CuTest* tc, const char* file, int line, const cha
CuFail_Line(tc, file, line, message, buf);
}
-void CuAssertDblEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message,
- double expected, double actual, double delta)
-{
- char buf[STRING_MAX];
- if (fabs(expected - actual) <= delta) return;
- sprintf(buf, "expected <%f> but was <%f>", expected, actual);
-
- CuFail_Line(tc, file, line, message, buf);
-}
-
void CuAssertPtrEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message,
void* expected, void* actual)
{