public void AreChildrenWithCorrectValueMinMax(bool input)
        {
            var dimensionEntries = new Dimension <bool, Person>(MethodBase.GetCurrentMethod().Name, k => k.Active)
                                   .BuildBool();

            Assert.AreEqual(dimensionEntries.CountChildrenContaining(input), 1);
        }
        public void StringDimensionAreChildrenWithCorrectValueMinMax(params string[] inputs)
        {
            var dimensionEntries = new Dimension <string, Person>(MethodBase.GetCurrentMethod().Name, k => k.Gender)
                                   .BuildEnum(inputs);

            int result = 0;

            foreach (var input in inputs)
            {
                result += dimensionEntries.CountChildrenContaining(input);
            }

            Assert.AreEqual(result, inputs.Length);
        }
        public void EnumDimensionAreThereChildrenAsGender2()
        {
            var dimensionEntries = new Dimension <Gender2, Person>(MethodBase.GetCurrentMethod().Name, k => k.Gender2Enum)
                                   .BuildEnum();

            var values = Enum.GetValues(typeof(Gender2)).Cast <Gender2>();
            var result = 0;

            foreach (var value in values)
            {
                result += dimensionEntries.CountChildrenContaining(value);
            }

            Assert.AreEqual(values.Count(), result);
        }