def METHOD_NAME(scale):
    k = 10
    aps = ApproxSet(scale)
    a = torch.rand(k) * scale * 0.49
    b = torch.rand(k) * scale * 0.49
    c = scale + torch.rand(k) * scale * 0.49
    d = scale + torch.rand(k) * scale * 0.49
    assert_equal(aps.try_add(a), True)
    assert_equal(aps.try_add(b), False)
    assert_equal(aps.try_add(c), True)
    assert_equal(aps.try_add(d), False)