コード例 #1
0
ファイル: test_multiply.py プロジェクト: urbanslug/Arithmetic
 def test_multiplication(self):
     assert multiply.compute(3, 4) == 12
コード例 #2
0
ファイル: test_multiply.py プロジェクト: urbanslug/Arithmetic
 def test_multiplication(self):
     assert multiply.compute(3,4) == 12
コード例 #3
0
def main (a, b):
    mult = multiply.compute (a,b)
    print ("multiplication of %s and %s is: %s" % (a, b, mult))