예제 #1
0
파일: sets.py 프로젝트: KevinGoodsell/sympy
    def _sup(self):
        # We use max_ so that sup is meaningful in combination with symbolic
        # end points.
        from sympy.functions.elementary.miscellaneous import max_

        sup = self.args[0].sup
        for set in self.args[1:]:
            sup = max_(sup, set.sup)
        return sup
예제 #2
0
def test_max():
    assert max_(5, 4) == 5
예제 #3
0
def test_max():
    assert max_(5, 4) == 5