示例#1
0
        public static bool testOptionalNumSample()
        {
            VariabilityModel     withOptional        = SampleUtil.loadOptionalVM();
            List <Configuration> sampledWithOptional = SampleUtil.sampleWholePopulation(withOptional);

            return(7 == sampledWithOptional.Count && sampledWithOptional.Exists(x =>
                                                                                x.BinaryOptions.ContainsKey(withOptional.AbrstactOptions[0])));
        }