Esempio n. 1
0
from test1 import add

print(add(3, 2))
Esempio n. 2
0
 def test_add(self):
     self.assertEqual(add(1,2), 3)
Esempio n. 3
0
from common import *
from test1 import add

test = "I like this"
add(test)


test2 = "I like this too"
add(test2)
Esempio n. 4
0
import test1

print(test1.add(5, 8))
print(test1.subtract(10, 5))
print(test1.division(2, 7))
print(test1.multiply(12, 6))
Esempio n. 5
0
#import test1
from test1 import add, sub, BusinessCard
print(__name__)
result = add(3, 4)
print(result)

shkim = BusinessCard("sungho kim")
shkim.print_info()
result1 = sub(4, 5)
print(result1)

#result1 = sub(5,4)
#print(result1)
Esempio n. 6
0
import test1

print test1.add(5,5)