def test_rating():
    if type(Rating) is not type:
        assert isinstance(1.99, Rating)
        assert issubclass(float, Rating)
    assert Rating(100) == 100
    assert 200 < Rating(100)
    assert Rating(100) <= 200
    assert not (Rating(100) == 200)
    assert not (Rating(100) > 200)
    assert not (Rating(100) >= 200)
    assert Rating(100) == Rating(100)
    assert Rating(100) != Rating(200)
dataset/ETHPy150Open sublee/elo/elotests.py/test_rating/swapped operands of `<`