assure(Enum2.fromInt(4) == Enum2.VALUE4);
assure(Enum2.fromInt(5) == null);
}
public void testPolyStruct() {
PolyStruct s = new PolyStruct();
assure(s.member1 == null);
assure(s.member2 == 0);
s = new PolyStruct("ABC", 5);
assure(s.member1.equals("ABC"));
assure(s.member2 == 5);
}