fix_calculator_tests.md
February 27, 2022 ยท View on GitHub
Fix Calculator Tests
Fix the following Python test file to run successfully the tests
import unittest
import calc
class TestCalculator(unittest.TestCase):
def add_test(self):
self.assertEqual(calculator.add(1, 1), 2)
def test_substract():
self.assertEqual(calculator.substract(4, 3), 1)