def test_zookeeper():
    zookeeper = Elo(lambda r: math.pi / 2 * r.times - 32, CountedRating)
    assert zookeeper.k_factor(zookeeper.create_rating(1500, 0)) == 32
dataset/ETHPy150Open sublee/elo/elotests.py/test_zookeeper/swapped operands of `-`