@@@ all the mess ever
[mLib] / hash / t / crc32.tests
index 9fb2baf..92fbee7 100644 (file)
@@ -1,11 +1,22 @@
-### -*-conf-*-
-### crc32 tests
-
-hash {
-  ""                                                           0;
-  "foo"                                                                0x8c736521;
-  "anything you like"                                          0x2c090211;
-  "an exaple test string"                                      0x686a05aa;
-  "The quick brown fox jumps over the lazy dog."               0x519025e9;
-  "A man, a plan, a canal: Panama!"                            0x27f3faee;
-}
+;;; -*-conf-*-
+;;; crc32 tests
+
+[crc32]
+
+m = ""
+h = 0
+
+m = "foo"
+h = 0x8c736521
+
+m = "anything you like"
+h = 0x2c090211
+
+m = "an exaple test string"
+h = 0x686a05aa
+
+m = "The quick brown fox jumps over the lazy dog."
+h = 0x519025e9
+
+m = "A man, a plan, a canal: Panama!"
+h = 0x27f3faee