@Test
public void isEntirelyBorder() {

	ConfigSpatial configSpatial = new ConfigSpatial();
	ConfigPadding configPadding = new ConfigPadding();
	configSpatial.HH = 2;
	configSpatial.WW = 2;
	configSpatial.periodY = 1;
	configSpatial.periodX = 1;
	configPadding.y0 = 3;
	configPadding.x0 = 2;
	configPadding.y1 = 2;
	configPadding.x1 = 2;
	Helper alg = new Helper(configSpatial,new ConstantPadding2D_F64(configPadding));
	alg.initialize(2,12,13);
	assertFalse(alg.isEntirelyBorder(0, 0));
	assertFalse(alg.isEntirelyBorder(0, alg.Wo-3));
	assertFalse(alg.isEntirelyBorder(alg.Ho-3, 0));
	assertTrue(alg.isEntirelyBorder(0,  alg.Wo));
	assertTrue(alg.isEntirelyBorder(alg.Ho, 0));
	assertTrue(alg.isEntirelyBorder(0,  alg.Wo-1));
	assertTrue(alg.isEntirelyBorder(alg.Ho-1, 0));
}