Ejemplo n.º 1
0
        public void Truncation(VariantType variantType, OverlapType overlapType, EndpointOverlapType endpointOverlapType, bool expectedResult)
        {
            var  featureEffect  = new FeatureVariantEffects(overlapType, endpointOverlapType, false, variantType, true);
            bool observedResult = featureEffect.Truncation();

            Assert.Equal(expectedResult, observedResult);
        }
Ejemplo n.º 2
0
        public void Truncation(VariantType variantType, int variantStart, int variantEnd, bool expectedResult)
        {
            var featureEffect = new FeatureVariantEffects(new Interval(150, 250), variantType, new Interval(variantStart, variantEnd), true);

            Assert.Equal(expectedResult, featureEffect.Truncation());
        }