コード例 #1
0
        public void GenerateProperties()
        {
            var gen = new IntProducer().ChooseFrom();

            var properties = PropertyGenerator.GenerateProperties("mustbetrue", gen, i => i == i).ToList();

            properties
            .Select(p => p.Check())
            .ToList()
            .TrueForAll(x => x)
            .Should()
            .BeTrue();
        }