DefaultPredictorIT

public class DefaultPredictorIT

Integration tests for the DefaultPredictor class.

Author:Kyle M. Douglass

Constructors

DefaultPredictorIT

public DefaultPredictorIT()

Methods

setUp

public void setUp()

Sets up the integration test.

testGetCount

public void testGetCount()

Test of getCount method, of class DefaultPredictor.

testGetDensityMap

public void testGetDensityMap()

Test of getDensityMap method, of class DefaultPredictor.

testGetDensityMapResized

public void testGetDensityMapResized()

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

public void testGetLocalCountMap()

Test of getLocalCountMap, of class DefaultPredictor.

Throws:

testGetMaximumLocalCount

public void testGetMaximumLocalCount()

Test of getMaximumLocalCount, of class DefaultPredictor.

Throws:

testPredict

public void testPredict()

Test of predict method, of class DefaultPredictor.