DefconTest

public class DefconTest

Unit tests for the Defcon class.

Author:Kyle M. Douglass

Methods

setUp

public void setUp()

testGetSetBoxSize

public void testGetSetBoxSize()

Gets/sets the box size field for the maximum local count.

testMaxLocalCount

public void testMaxLocalCount()

Toggles the maximum local count feature.

testNegativeBoxSize

public void testNegativeBoxSize()

Ensures that the boxSize value is greater than 1.

testOddBoxSize

public void testOddBoxSize()

Ensures that the boxSize value is odd.

testProcessImage

public void testProcessImage()

Ensures that the processImage() method is called without errors.

testProcessMaxLocalCount

public void testProcessMaxLocalCount()

Analyzer predicts the maximum local count instead of the density map.