예제 #1
0
        public void Ablation(VariantType variantType, OverlapType overlapType, EndpointOverlapType endpointOverlapType, bool expectResult)
        {
            var  featureEffect  = new FeatureVariantEffects(overlapType, endpointOverlapType, false, variantType, true);
            bool observedResult = featureEffect.Ablation();

            Assert.Equal(expectResult, observedResult);
        }
예제 #2
0
        public void Not_Ablation_if_not_completely_overlapped(int variantStart, int variantEnd, bool expectedResult)
        {
            var featureEffect = new FeatureVariantEffects(new Interval(150, 250), VariantType.deletion, new Interval(variantStart, variantEnd), false);

            Assert.Equal(expectedResult, featureEffect.Ablation());
        }
예제 #3
0
        public void Ablation(VariantType type, bool expectResult)
        {
            var featureEffect = new FeatureVariantEffects(new Interval(100, 200), type, new Interval(50, 300), true);

            Assert.Equal(expectResult, featureEffect.Ablation());
        }