@Test
public void testConstructAndGetValue() {

    final CircularExtractMask mask = new CircularExtractMask(13, 13, 4.5, 1.1);
    assertFalse(mask.getValue(0, 4));
    assertFalse(mask.getValue(1, 4));
    assertFalse(mask.getValue(2, 4));
    assertTrue(mask.getValue(3, 4));
    assertTrue(mask.getValue(4, 4));
    assertTrue(mask.getValue(5, 4));
    assertTrue(mask.getValue(6, 4));
    assertTrue(mask.getValue(7, 4));
    assertTrue(mask.getValue(8, 4));
    assertTrue(mask.getValue(9, 4));
    assertFalse(mask.getValue(10, 4));
    assertFalse(mask.getValue(11, 4));
    assertFalse(mask.getValue(12, 4));
    assertFalse(mask.getValue(5, 0));
    assertFalse(mask.getValue(5, 1));
    assertFalse(mask.getValue(5, 2));
    assertTrue(mask.getValue(5, 3));
    assertTrue(mask.getValue(5, 4));
    assertTrue(mask.getValue(5, 5));
    assertTrue(mask.getValue(5, 6));
    assertTrue(mask.getValue(5, 7));
    assertTrue(mask.getValue(5, 8));
    assertTrue(mask.getValue(5, 9));
    assertFalse(mask.getValue(5, 10));
    assertFalse(mask.getValue(5, 11));
    assertFalse(mask.getValue(5, 12));
}