public int[] mappings() {
    int[] cleansed = new int[mapping.length];
    for (int i = 0; i < mapping.length; i++) {
      cleansed[i] = unmask(mapping[i]);
    }
    return cleansed;
  }
@Test
  public void testMappings() {
    instance.setMapping(0, 2 | VariableMapper.REMAP_FLAG, 1);
    instance.setMapping(1, VariableMapper.REMAP_FLAG | VariableMapper.DOUBLE_SLOT_FLAG, 2);

    assertEquals(2, instance.map(0));
    assertEquals(0, instance.map(1));
  }