for (int ps = 0; ps < pu_sy.length; ps++)
{
for (int gp = 0; gp < gen_par.length; gp++)
{
Entity e = new Entity(null, 0, null);
e.type = pu_sy [ ps ] | gen_par [ gp ];
assertEquals(e.isGeneral(), gen_par [ gp ] == DTDConstants.GENERAL);
assertEquals(e.isParameter(),
gen_par [ gp ] == DTDConstants.PARAMETER
);
assertEquals((e.type & DTDConstants.SYSTEM) != 0,
pu_sy [ ps ] == DTDConstants.SYSTEM