summaryrefslogtreecommitdiffstats
path: root/tests/bits
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-14 13:35:48 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-14 13:35:48 +0100
commit42885f88068d8ea549d5472cd51b60470515192e (patch)
tree257dfed9802c5408d9b7e1af80c4040fd7c9d81e /tests/bits
parent36a9cdfcd625f003e50b6077d12e720c66cf6c77 (diff)
parentbf12800c51e3b470851a42272e083120f649a96b (diff)
Merge branch 'zecke/gnu-autotest'
Diffstat (limited to 'tests/bits')
-rw-r--r--tests/bits/bitrev_test.ok24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/bits/bitrev_test.ok b/tests/bits/bitrev_test.ok
new file mode 100644
index 00000000..47f402f4
--- /dev/null
+++ b/tests/bits/bitrev_test.ok
@@ -0,0 +1,24 @@
+INORDER: 01 02 04 08 10 20 40 80
+REVERSED: 80 40 20 10 08 04 02 01
+
+INORDER: 02 04 08 10 20 40 80
+REVERSED: 40 20 10 08 04 02 01
+
+INORDER: 04 08 10 20 40 80
+REVERSED: 20 10 08 04 02 01
+
+INORDER: 08 10 20 40 80
+REVERSED: 10 08 04 02 01
+
+INORDER: 10 20 40 80
+REVERSED: 08 04 02 01
+
+INORDER: 20 40 80
+REVERSED: 04 02 01
+
+INORDER: 40 80
+REVERSED: 02 01
+
+INORDER: 80
+REVERSED: 01
+