Changeset 6347


Ignore:
Timestamp:
05/19/10 10:04:12 (9 years ago)
Author:
bdezonia
Message:

minor edit in MemoryRecordTest

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/components/loci-plugins/test/loci/plugins/in/ImporterTest.java

    r6346 r6347  
    714714     
    715715    assertTrue(y > 10);  // needed for this test 
     716    assertTrue(z > 1); 
    716717     
    717718    // open file 
     
    744745    WindowManager.setTempCurrentImage(imp); 
    745746    IJ.run("Flip Horizontally","slice"); 
    746  
    747     assertEquals(48,(int)imp.getProcessor().getPixelValue(1,10)); 
     747    assertEquals(x-2,(int)imp.getProcessor().getPixelValue(1,10)); 
     748     
    748749    imp.setSlice(2); 
    749750    assertEquals(1,(int)imp.getProcessor().getPixelValue(1,10)); 
     751     
    750752    imp.setSlice(1); 
    751     int expectedVal = wantToRemember ? 48 : 1; 
     753    int expectedVal = wantToRemember ? x-2 : 1; 
    752754    assertEquals(expectedVal,(int)imp.getProcessor().getPixelValue(1,10)); 
    753755  } 
Note: See TracChangeset for help on using the changeset viewer.