Ejemplo n.º 1
0
def test_hbar():
    assert hbar.is_commutative == True
    assert hbar.is_real == True
    assert hbar.is_positive == True
    assert hbar.is_negative == False
    assert hbar.is_irrational == True

    assert hbar.evalf() == Real(1.05457162e-34)
def test_hbar():
    assert hbar.is_commutative is True
    assert hbar.is_real is True
    assert hbar.is_positive is True
    assert hbar.is_negative is False
    assert hbar.is_irrational is True

    assert hbar.evalf() == Float(1.05457162e-34)
Ejemplo n.º 3
0
def test_hbar():
    assert hbar.is_commutative == True
    assert hbar.is_real == True
    assert hbar.is_positive == True
    assert hbar.is_negative == False
    assert hbar.is_irrational == True

    assert hbar.evalf() == Real(1.05457162e-34)
Ejemplo n.º 4
0
def test_hbar():
    assert hbar.is_commutative is True
    assert hbar.is_real is True
    assert hbar.is_positive is True
    assert hbar.is_negative is False
    assert hbar.is_irrational is True

    assert hbar.evalf() == Float(1.05457162e-34)