Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 318 Bytes

fix_calculator_tests.md

File metadata and controls

17 lines (11 loc) · 318 Bytes

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)