function testOr() { $source = File_Archive::readMemory('', 'A.txt'); $source->next(); $predicate = File_Archive::predOr(File_Archive::predFalse(), File_Archive::predFalse(), File_Archive::predTrue()); $this->assertTrue($predicate->isTrue($source)); $predicate = File_Archive::predAnd(File_Archive::predFalse(), File_Archive::predFalse()); $this->assertFalse($predicate->isTrue($source)); }