Пример #1
0
 boolean testAllSuch(Tester t) {
   return t.checkExpect(imglistshortnames.allSuchImageFile(this.FourFiles), true)
       &&
       /*t.checkExpect(imglistjpgs.allSuchImageFile(this.givenFiles),
                     true) &&
       t.checkExpect(imglistgif.allSuchImageFile(this.givenFiles),
                     true); */
       t.checkExpect(img1.kind.equals(img7.kind), true);
 }
Пример #2
0
 // test the method filter on small image files
 boolean testFilter(Tester t) {
   return t.checkExpect(mt.filter(this.smallFiles), this.mt)
       && t.checkExpect(imglistall.filter(this.smallFiles), this.imglistsmall);
 }