Exemple #1
0
    def testAddInt(self):
        """
        Test av addInt
        """
        self.assertEqual(addInt(2, "34"), 36, "addInt(2, \"34\") = 36 ")

        self.assertEqual(addInt(2, "qwerty"), 2, "addInt(2, \"qwerty\") = 2 ")
Exemple #2
0
print("start")
from Arithmetic.Advanced.fibonacci import fibonacci
from Arithmetic.addition import addInt
from Arithmetic.subtraction import subInt
print(addInt(2, 3))
print("end")