check(new FieldSet(7, 4, 1, 4, 7, 1, 4, 2), 1, 4, 2, 7);
}
@Test
public void testFieldSetAdds() {
check(new FieldSet().addField(1).addField(2), 1, 2);
check(FieldSet.EMPTY_SET.addField(3).addField(2), 3, 2);
check(new FieldSet(13).addFields(new FieldSet(17, 31, 42)), 17, 13, 42, 31);
check(new FieldSet(14).addFields(new FieldSet(17)), 17, 14);
check(new FieldSet(3).addFields(2, 8, 5, 7), 3, 2, 8, 5, 7);
check(new FieldSet().addFields(new FieldSet()));
check(new FieldSet().addFields(new FieldSet(3, 4)), 4, 3);
check(new FieldSet(5, 1).addFields(new FieldSet()), 5, 1);
}