def test_definition():
    q = Quantity(10, s)

    assert q.factor == 10
    assert q.unit == s

    assert Quantity(10) == 10
dataset/ETHPy150Open sympy/sympy/sympy/physics/unitsystems/tests/test_quantities.py/test_definition/original