Last active
December 20, 2018 13:36
-
-
Save hcosta/95434aa01b0e79c9364942c2083c5a22 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import unittest | |
from calculator import Calculator | |
class TestMyCalculator(unittest.TestCase): | |
def setUp(self): | |
self.calc = Calculator() | |
def test_initial_value(self): | |
self.assertEqual(0, self.calc.value) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment