summaryrefslogtreecommitdiff
path: root/filter
diff options
context:
space:
mode:
Diffstat (limited to 'filter')
-rw-r--r--filter/test.conf12
1 files changed, 12 insertions, 0 deletions
diff --git a/filter/test.conf b/filter/test.conf
index 9b24a408..17aaf8cf 100644
--- a/filter/test.conf
+++ b/filter/test.conf
@@ -219,6 +219,18 @@ function t_int()
bt_assert(123/45 = 2);
bt_assert(0xfee1a | 0xbeef = 0xffeff);
bt_assert(0xfee1a & 0xbeef = 0xae0a);
+
+ case i {
+ 4200000000: bt_assert(true);
+ else: bt_assert(false);
+ }
+
+ case four {
+ 4: bt_assert(true);
+ else: bt_assert(false);
+ }
+
+
}
bt_test_suite(t_int, "Testing integers");