This file contains 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 solution import is_happy, happy_primes | |
class TestHappy(unittest.TestCase): | |
def test_is_happy7(self): | |
self.assertEqual(is_happy(7), True) | |
def test_is_happy10(self): | |
self.assertEqual(is_happy(10), True) |