summaryrefslogtreecommitdiff
path: root/test/testutils
diff options
context:
space:
mode:
Diffstat (limited to 'test/testutils')
-rw-r--r--test/testutils/domtsasserts.c7
-rw-r--r--test/testutils/domtsasserts.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/test/testutils/domtsasserts.c b/test/testutils/domtsasserts.c
index affa881..731e19d 100644
--- a/test/testutils/domtsasserts.c
+++ b/test/testutils/domtsasserts.c
@@ -64,6 +64,13 @@ bool is_equals_int(int excepted, int actual, bool dummy)
return excepted == actual;
}
+bool is_equals_bool(bool excepted, bool actual, bool dummy)
+{
+ UNUSED(dummy);
+
+ return excepted == actual;
+}
+
bool is_equals_unsigned_long(unsigned long excepted, unsigned long actual, bool dummy)
{
UNUSED(dummy);
diff --git a/test/testutils/domtsasserts.h b/test/testutils/domtsasserts.h
index ee0fb72..a09603f 100644
--- a/test/testutils/domtsasserts.h
+++ b/test/testutils/domtsasserts.h
@@ -34,6 +34,7 @@ bool is_same_unsigned_long(unsigned long excepted, unsigned long actual);
bool is_equals_int(int excepted, int actual, bool dummy);
bool is_equals_unsigned_long(unsigned long excepted, unsigned long actual, bool dummy);
+bool is_equals_bool(bool excepted, bool actual, bool dummy);
bool is_equals_string(const char *excepted, dom_string *actual,
bool ignoreCase);
bool is_equals_domstring(dom_string *excepted, dom_string *actual, bool ignoreCase);