Show
Ignore:
Timestamp:
09/16/08 21:07:17 (4 months ago)
Author:
cocoiti
Message:

putint, getintを追加したなぜかこっちだけリトルエンディアンな謎

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • lang/php/Net_TokyoTyrant/trunk/tests/tmp_test.php

    r19373 r19380  
    6767assert($tt->addint($count_key, 2) === 3); 
    6868assert($tt->addint($count_key, -2) === 1); 
     69assert($tt->putint($count_key, 1)); 
     70assert($tt->getint($count_key) === 1); 
     71assert($tt->addint($count_key, 1) === 2); 
     72assert($tt->getint($count_key) === 2); 
     73assert($tt->addint($count_key, -3) === -1); 
    6974 
    7075