@Test
public void inferType() throws Exception {

    assertEquals(VariantType.NO_VARIATION, VariantHbaseUtil.inferType("", ""));
    assertEquals(VariantType.NO_VARIATION, VariantHbaseUtil.inferType(".", "."));
    assertEquals(VariantType.NO_VARIATION, VariantHbaseUtil.inferType(".", ""));
    assertEquals(VariantType.NO_VARIATION, VariantHbaseUtil.inferType("", "."));
    assertEquals(VariantType.SNV, VariantHbaseUtil.inferType("A", "T"));
    assertEquals(VariantType.MNV, VariantHbaseUtil.inferType("AGG", "TCC"));
    assertEquals(VariantType.INSERTION, VariantHbaseUtil.inferType("", "T"));
    assertEquals(VariantType.INSERTION, VariantHbaseUtil.inferType(".", "T"));
    assertEquals(VariantType.DELETION, VariantHbaseUtil.inferType("A", ""));
    assertEquals(VariantType.DELETION, VariantHbaseUtil.inferType("A", "."));
    assertEquals(VariantType.MIXED, VariantHbaseUtil.inferType("AG", "T"));
    assertEquals(VariantType.MIXED, VariantHbaseUtil.inferType("A", "TC"));
}