]> asedeno.scripts.mit.edu Git - cl-protobufs.git/blobdiff - tests/wire-tests.lisp
wire-format: Start using ENCODE-INT and DECODE-INT
[cl-protobufs.git] / tests / wire-tests.lisp
index 8b2765a24d7d62d7be5336854d65242eb6145078..7ff9d02487ef342cf4c1f2cd396b47876acdcffc 100644 (file)
               (#x10000000 (#x80 #x80 #x80 #x80 #x01))
               (#xffffffff (#xff #xff #xff #xff #x0f))))
     (verify nil
-            #'decode-int32
+            #'decode-int
             '((#x0 (#x00))
               (#x1 (#x01))
               (#x7fffffff (#xff #xff #xff #xff #x07))
               (#x8000000000000000 (#x80 #x80 #x80 #x80 #x80 #x80 #x80 #x80 #x80 #x01))
               (#xffffffffffffffff (#xff #xff #xff #xff #xff #xff #xff #xff #xff #x01))))
     (verify nil
-            #'decode-int64
+            #'decode-int
             '((#x0 (#x00))
               (#x1 (#x01))
               (#x7fffffffffffffff (#xff #xff #xff #xff #xff #xff #xff #xff #xff #x00))