@Test
public void getFieldTypes() {

  StructDefinitionType t = new StructDefinitionType(new StructNameType("astruct"),
      Arrays.asList("x", "y"),
      Arrays.asList(BasicType.MAT2X2, BasicType.MAT3X3));
  assertEquals(t.getFieldTypes().get(0), BasicType.MAT2X2);
  assertEquals(t.getFieldTypes().get(1), BasicType.MAT3X3);
}