test_types.py 文件源码

python
阅读 29 收藏 0 点赞 0 评论 0

项目:carsus 作者: tardis-sn 项目源码 文件源码
def test_dbquantity_div_another_unit(dbquantity):
    q = dbquantity/(2*u.m)
    expr = q.value
    value_1 = expr.right.value
    assert_almost_equal(value_1, 2)
    assert q.unit == u.Unit("")
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号