test.py 文件源码

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

项目:querygraph 作者: peter-woyzbun 项目源码 文件源码
def test_round(self):
        param_str = "round(2.45, 1) -> float"
        test_param = TemplateParameter(parameter_str=param_str, type_converter=self.type_converter)
        result = test_param.render(df=test_df)
        self.assertEquals(result, np.round_(2.45, 1))
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号