# app-test.py
import unittest
from app import add_numbers


class MyTest(unittest.TestCase):
    def test_add_numbers(self):
        self.assertEqual(add_numbers(1, 1), 2)
        self.assertEqual(add_numbers(1, -1), 0)
        self.assertEqual(add_numbers(0, 0), 0)
        self.assertEqual(add_numbers(-1, -1), -2)
        self.assertEqual(add_numbers(1.0, 1), 2)
        self.assertEqual(add_numbers(1.1, 1.1), 2.2)
        self.assertEqual(add_numbers(40, 2), 42)


if __name__ == '__main__':
    unittest.main()

63964d76730ba1f2aa2bdcd22fef818293d6b78b
<mask token>


class MyTest(unittest.TestCase):
    <mask token>


<mask token>

<mask token>


class MyTest(unittest.TestCase):

    def test_add_numbers(self):
        self.assertEqual(add_numbers(1, 1), 2)
        self.assertEqual(add_numbers(1, -1), 0)
        self.assertEqual(add_numbers(0, 0), 0)
        self.assertEqual(add_numbers(-1, -1), -2)
        self.assertEqual(add_numbers(1.0, 1), 2)
        self.assertEqual(add_numbers(1.1, 1.1), 2.2)
        self.assertEqual(add_numbers(40, 2), 42)


<mask token>

<mask token>


class MyTest(unittest.TestCase):

    def test_add_numbers(self):
        self.assertEqual(add_numbers(1, 1), 2)
        self.assertEqual(add_numbers(1, -1), 0)
        self.assertEqual(add_numbers(0, 0), 0)
        self.assertEqual(add_numbers(-1, -1), -2)
        self.assertEqual(add_numbers(1.0, 1), 2)
        self.assertEqual(add_numbers(1.1, 1.1), 2.2)
        self.assertEqual(add_numbers(40, 2), 42)


if __name__ == '__main__':
    unittest.main()

import unittest
from app import add_numbers


class MyTest(unittest.TestCase):

    def test_add_numbers(self):
        self.assertEqual(add_numbers(1, 1), 2)
        self.assertEqual(add_numbers(1, -1), 0)
        self.assertEqual(add_numbers(0, 0), 0)
        self.assertEqual(add_numbers(-1, -1), -2)
        self.assertEqual(add_numbers(1.0, 1), 2)
        self.assertEqual(add_numbers(1.1, 1.1), 2.2)
        self.assertEqual(add_numbers(40, 2), 42)


if __name__ == '__main__':
    unittest.main()

# app-test.py
import unittest
from app import add_numbers


class MyTest(unittest.TestCase):
    def test_add_numbers(self):
        self.assertEqual(add_numbers(1, 1), 2)
        self.assertEqual(add_numbers(1, -1), 0)
        self.assertEqual(add_numbers(0, 0), 0)
        self.assertEqual(add_numbers(-1, -1), -2)
        self.assertEqual(add_numbers(1.0, 1), 2)
        self.assertEqual(add_numbers(1.1, 1.1), 2.2)
        self.assertEqual(add_numbers(40, 2), 42)


if __name__ == '__main__':
    unittest.main()
