expect_bernoulli: Test Bernoulli distribution using buckets
Description
Test if the success probability of a Bernoulli experiment lies
within a desired 'bucket'. This used the sequential procedure
described in
GandyHahnDing:pvaluebuckets;textualmcunit.