function testDecodeVarint()
 {
     foreach ($this->tests as $i => $enc) {
         if (is_string($i)) {
             $i = (double) $i;
         }
         if ($i >= 0) {
             $a = Protobuf::decode_varint($enc);
         } else {
             $a = Protobuf::decode_signed_varint($enc);
         }
         $this->assertSame($i, $a, "Failed to decode_varint(...)={$i}");
     }
 }