Skip to content

Instantly share code, notes, and snippets.

IliyanYakimov

Block or report user

Report or block IliyanYakimov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View s_hw.py
import unittest
import solution
class ExtractTypeTest(unittest.TestCase):
def test_python(self):
input = [('p', 1), ('y', 1), ('t', 1),
('h', 1), ('o', 1), ('n', 1)]
self.assertEqual("python", solution.extract_type(input, str))
View powers_of_two_remain.py
import unittest
import solution
class PowerOfTwoTests(unittest.TestCase):
def test_empty_list(self):
self.assertFalse(solution.powers_of_two_remain([]))
def test_multiple_numbers_in_list_true(self):
You can’t perform that action at this time.