package com.bina.varsim.fastqLiftover;

import com.bina.varsim.fastqLiftover.types.GenomeLocation;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;

/**
 * Unit test for GenomeLocation
 */
public class GenomeLocationTest
        extends TestCase {
    /**
     * Create the test case
     *
     * @param testName name of the test case
     */
    public GenomeLocationTest(String testName) {
        super(testName);
    }

    /**
     * @return the suite of tests being tested
     */
    public static Test suite() {
        return new TestSuite(GenomeLocationTest.class);
    }

    public void testGenomeLocationSimple() {
        final String locationString = "1-100-INV-";
        final GenomeLocation genomeLocation = new GenomeLocation(locationString);

        assertEquals("1", genomeLocation.chromosome);
        assertEquals(100, genomeLocation.location);
        assertEquals("INV", genomeLocation.feature);
        assertEquals(1, genomeLocation.direction);
    }
}

@@ -92,16 +92,69 @@
 cation;%0A
+import com.bina.varsim.fastqLiftover.types.MapBlock;%0A
 import j
@@ -988,13 +988,30 @@
 als(
-%22
+MapBlock.BlockType.
 INV
-%22
 , ge

fix test