def test_comparisons():
    first = CalvinResponse(100)
    second = CalvinResponse(200)
    third = CalvinResponse(200)

    assert first < second
    assert second > first
    assert second == third
    assert first != second
    assert third <= second
    assert third <= second
dataset/ETHPy150Open EricssonResearch/calvin-base/calvin/tests/test_calvinresponse.py/test_comparisons/swapped operands of `<=`