.. java:import:: ij IJ .. java:import:: ij ImagePlus .. java:import:: org.junit Test .. java:import:: org.junit Before DefconTest ========== .. java:package:: ch.epfl.leb.alica.acpack.analyzers.defcon :noindex: .. java:type:: public class DefconTest Unit tests for the Defcon class. :author: Kyle M. Douglass Methods ------- setUp ^^^^^ .. java:method:: @Before public void setUp() :outertype: DefconTest testGetSetBoxSize ^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testGetSetBoxSize() :outertype: DefconTest Gets/sets the box size field for the maximum local count. testMaxLocalCount ^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testMaxLocalCount() :outertype: DefconTest Toggles the maximum local count feature. testNegativeBoxSize ^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testNegativeBoxSize() :outertype: DefconTest Ensures that the boxSize value is greater than 1. testOddBoxSize ^^^^^^^^^^^^^^ .. java:method:: @Test public void testOddBoxSize() :outertype: DefconTest Ensures that the boxSize value is odd. testProcessImage ^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testProcessImage() :outertype: DefconTest Ensures that the processImage() method is called without errors. testProcessMaxLocalCount ^^^^^^^^^^^^^^^^^^^^^^^^ .. java:method:: @Test public void testProcessMaxLocalCount() :outertype: DefconTest Analyzer predicts the maximum local count instead of the density map.