summaryrefslogtreecommitdiff
path: root/test/testutils/domtscondition.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/testutils/domtscondition.c')
-rw-r--r--test/testutils/domtscondition.c32
1 files changed, 0 insertions, 32 deletions
diff --git a/test/testutils/domtscondition.c b/test/testutils/domtscondition.c
deleted file mode 100644
index 39f6c68..0000000
--- a/test/testutils/domtscondition.c
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of libdom test suite.
- * Licensed under the MIT License,
- * http://www.opensource.org/licenses/mit-license.php
- * Copyright 2009 Bo Yang <struggleyb.nku@gmail.com>
- */
-
-#include <stdbool.h>
-
-/**
- * Just simple functions which meet the needs of DOMTS conditions
- */
-
-bool less(int excepted, int actual)
-{
- return actual < excepted;
-}
-
-bool less_or_equals(int excepted, int actual)
-{
- return actual <= excepted;
-}
-
-bool greater(int excepted, int actual)
-{
- return actual > excepted;
-}
-
-bool greater_or_equals(int excepted, int actual)
-{
- return actual >= excepted;
-}