#273: Remove nose dependency for recursion_dynamic/ (#280)

This commit is contained in:
Donne Martin
2020-07-13 21:26:50 -04:00
committed by GitHub
parent dce6b6aa67
commit 76cb6507fc
57 changed files with 548 additions and 751 deletions

View File

@@ -1,7 +1,7 @@
from nose.tools import assert_equal
import unittest
class TestPowerSet(object):
class TestPowerSet(unittest.TestCase):
def test_power_set(self):
input_set = ''
@@ -27,7 +27,7 @@ class TestPowerSet(object):
def run_test(self, input_set, expected):
combinatoric = Combinatoric()
result = combinatoric.find_power_set(input_set)
assert_equal(result, expected)
self.assertEqual(result, expected)
def main():
@@ -36,4 +36,4 @@ def main():
if __name__ == '__main__':
main()
main()