Assert.assertEquals(2, t);
}
@Test
public void compareFilterOnInteger() throws LayerException {
Filter lt = filterService.createCompareFilter(PARAM_INT_ATTR, "<", "15");
Iterator<?> it = layer.getElements(lt, 0, 0);
int t = 0;
while (it.hasNext()) {
it.next();
t++;
}
Assert.assertEquals(4, t);
Filter ne = filterService.createCompareFilter(PARAM_INT_ATTR, "<>", "10");
Iterator<?> it2 = layer.getElements(ne, 0, 0);
int t2 = 0;
while (it2.hasNext()) {
it2.next();