.. java:import:: ij IJ .. java:import:: ij ImagePlus .. java:import:: ij.plugin SubstackMaker .. java:import:: ij.process ImageProcessor .. java:import:: ij.process FloatProcessor .. java:import:: java.io File .. java:import:: org.junit Test .. java:import:: org.junit Before DefaultPredictorIT ================== .. java:package:: ch.epfl.leb.defcon.predictors.internal :noindex: .. java:type:: public class DefaultPredictorIT Integration tests for the DefaultPredictor class. :author: Kyle M. Douglass Constructors ------------ DefaultPredictorIT ^^^^^^^^^^^^^^^^^^ .. java:constructor:: public DefaultPredictorIT() :outertype: DefaultPredictorIT Methods ------- setUp ^^^^^ .. java:method:: @Before public void setUp() :outertype: DefaultPredictorIT Sets up the integration test. testGetCount ^^^^^^^^^^^^ .. java:method:: @Test public void testGetCount() throws Exception :outertype: DefaultPredictorIT Test of getCount method, of class DefaultPredictor. testGetDensityMap ^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetDensityMap() throws Exception :outertype: DefaultPredictorIT Test of getDensityMap method, of class DefaultPredictor. testGetDensityMapResized ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetDensityMapResized() throws Exception :outertype: DefaultPredictorIT Test of getDensityMap method, of class DefaultPredictor. This test verifies that images whose dimensions are not multiples of four are automatically cropped before computing the density map. testGetLocalCountMap ^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetLocalCountMap() throws Exception :outertype: DefaultPredictorIT Test of getLocalCountMap, of class DefaultPredictor. :throws java.lang.Exception: testGetMaximumLocalCount ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetMaximumLocalCount() throws Exception :outertype: DefaultPredictorIT Test of getMaximumLocalCount, of class DefaultPredictor. :throws java.lang.Exception: testPredict ^^^^^^^^^^^ .. java:method:: @Test public void testPredict() throws Exception :outertype: DefaultPredictorIT Test of predict method, of class DefaultPredictor.