[gtk+/gtk-3-6] tests: Add some bitmasks to the hardcoded list
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-6] tests: Add some bitmasks to the hardcoded list
- Date: Sat, 10 Nov 2012 18:08:44 +0000 (UTC)
commit c6c92aa71b33b432c490db1a01003ac306eaecee
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]