Example #1
0
def test_cochrans():
    sample_sizer = BruteForceSampleSize(0.10)
    assert sample_sizer.size(100000000) == 10000000
Example #2
0
def test_div_by_zero():
    sample_sizer = BruteForceSampleSize(0.50)
    assert sample_sizer.size(0) == 0