Ploeh.AutoFixture.RandomBooleanSequenceGenerator.GenerateBoolean C# (CSharp) Method

GenerateBoolean() private method

private GenerateBoolean ( ISpecimenContext context ) : bool
context ISpecimenContext
return bool
        private bool GenerateBoolean(ISpecimenContext context)
        {
            return (int)this.randomBooleanNumbers.Create(typeof(int), context) == 0;
        }
    }