Exemplo n.º 1
0
 function testMinSize()
 {
     $source = File_Archive::readMemory('123456789', 'A.txt');
     $source->next();
     $predicate = File_Archive::predMinSize(9);
     $this->assertTrue($predicate->isTrue($source));
     $predicate = File_Archive::predMinSize(10);
     $this->assertFalse($predicate->isTrue($source));
 }