[gtk+] tests: Add some bitmasks to the hardcoded list



commit c59e8de533058f17fc51ab415295f88d5867bb0a
Author: Benjamin Otte <otte redhat com>
Date:   Sat Nov 10 18:53:34 2012 +0100

    tests: Add some bitmasks to the hardcoded list
    
    The bitmasks with the 31st, 32nd and 63rd bit set are added. The make up
    the largest bitmasks on 32bit/64bit that can be represented without
    allocating and the smallest bitmask on 32bit that must be allocated.

 gtk/tests/bitmask.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/gtk/tests/bitmask.c b/gtk/tests/bitmask.c
index 5637d7e..1d4eaa5 100644
--- a/gtk/tests/bitmask.c
+++ b/gtk/tests/bitmask.c
@@ -74,6 +74,9 @@ gtk_bitmask_new_parse (const char *string)
 static const char *tests[] = {
                                                                                                                                    "0",
                                                                                                                                    "1",
+                                                                                                     "1000000000000000000000000000000",
+                                                                                                    "10000000000000000000000000000000",
+                                                                     "100000000000000000000000000000000000000000000000000000000000000",
                                                                     "1000000000000000000000000000000000000000000000000000000000000000",
                                                                    "10000000000000000000000000000000000000000000000000000000000000000",
   "1010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010",



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]