コード例 #1
0
ファイル: test_mathematica.py プロジェクト: yyht/sympy
def test_comment():
    from sympy.printing.mathematica import MCodePrinter
    assert MCodePrinter()._get_comment("Hello World") == \
        "(* Hello World *)"
コード例 #2
0
 def __init__(self, mat=None):
     MCodePrinter.__init__(self)
     self.mat = mat